Started GET “/” for 127.0.0.1 at 2018-10-06 13:24:04 -0300

ActiveRecord::NoDatabaseError (FATAL: role “andre” does not exist ):

activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:701:in `rescue in connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-10-06 13:28:28 -0300

ActiveRecord::NoDatabaseError (FATAL: role “andre” does not exist ):

activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:701:in `rescue in connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-10-06 13:43:23 -0300

ActiveRecord::PendingMigrationError (

Migrations are pending. To resolve this issue, run:

bin/rails db:migrate RAILS_ENV=development

):

activerecord (5.1.6) lib/active_record/migration.rb:576:in `check_pending!' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread'

 (447.7ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (426.2ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (0.7ms)  SELECT pg_try_advisory_lock(6530939546169874185)
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Migrating to DeviseCreateUsers (20180521225625)

 (0.4ms)  BEGIN
 (375.9ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (220.2ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (178.8ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
SQL (1.2ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20180521225625"]]
 (62.8ms)  COMMIT

Migrating to AddFieldsUsers (20180521230417)

 (0.4ms)  BEGIN
 (1.0ms)  ALTER TABLE "users" ADD "username" character varying
 (0.6ms)  ALTER TABLE "users" ADD "registration" character varying
 (0.6ms)  ALTER TABLE "users" ADD "course" character varying
 (789.0ms)  ALTER TABLE "users" ADD "is_admin" boolean DEFAULT 'f'
SQL (0.8ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20180521230417"]]
 (64.8ms)  COMMIT

Migrating to CreateRooms (20180604205706)

 (0.4ms)  BEGIN
 (440.4ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
SQL (0.8ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20180604205706"]]
 (51.2ms)  COMMIT

Migrating to CreateAppointments (20180606194001)

 (0.5ms)  BEGIN
 (185.3ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (239.8ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (184.7ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
SQL (0.8ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20180606194001"]]
 (61.7ms)  COMMIT
ActiveRecord::InternalMetadata Load (1.1ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.5ms)  BEGIN
SQL (1.1ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-10-06 16:43:41.723709"], ["updated_at", "2018-10-06 16:43:41.723709"]]
 (52.1ms)  COMMIT
 (0.6ms)  SELECT pg_advisory_unlock(6530939546169874185)
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Started GET “/” for 127.0.0.1 at 2018-10-06 13:43:54 -0300

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.2ms)

Completed 200 OK in 13053ms (Views: 13045.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-06 13:44:37 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (24.1ms)
Rendered users/sessions/new.html.erb within layouts/application (48.2ms)

Completed 200 OK in 133ms (Views: 88.1ms | ActiveRecord: 8.6ms)

Started GET “/create_user” for 127.0.0.1 at 2018-10-06 13:44:45 -0300 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.2ms)
Rendered users/registrations/new.html.erb within layouts/application (13.1ms)

Completed 200 OK in 63ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-06 13:45:04 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pQFQOl9xwA6dftdJIVOI7SZXehoEOztY0P2QcHh3z9bqVW4pr07TPuHSH4TiHf6OxvUXi5cEpao90n4ndfV3rg==", "user"=>{"username"=>"andre", "registration"=>"140016261", "course"=>"unb", "email"=>"andre@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK
Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.5ms)
Rendered users/registrations/new.html.erb within layouts/application (7.7ms)

Completed 200 OK in 271ms (Views: 44.3ms | ActiveRecord: 1.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-06 13:45:18 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"454dcBxAMdy2cAxoOUUQgrDmzQXEBDse1tlq1mCX9Hab+f2oSSZCnYBesPAJdlrTW8D/ip5Dvc1T4XJDAz0fYA==", "user"=>{"username"=>"andre", "registration"=>"140016261", "course"=>"unb", "email"=>"andre@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@hotmail.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre@hotmail.com"], ["encrypted_password", "$2a$11$Pt0XigHFKDxCdC1md1W/LuCNDMXps5JsQrr0rBT0m3HT90r.32UJC"], ["created_at", "2018-10-06 16:45:19.051575"], ["updated_at", "2018-10-06 16:45:19.051575"], ["username", "andre"], ["registration", "140016261"], ["course", "unb"]]
 (64.8ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-10-06 16:45:19.119304"], ["last_sign_in_at", "2018-10-06 16:45:19.119304"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-10-06 16:45:19.120160"], ["id", 1]]
 (50.4ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 303ms (ActiveRecord: 117.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-06 13:45:19 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (7.8ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 69ms (Views: 65.6ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-06 13:45:21 -0300 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.9ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (15.6ms)
Rendered layouts/_header-user.html.erb (2.1ms)

Completed 200 OK in 70ms (Views: 54.4ms | ActiveRecord: 3.9ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-06 13:45:24 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (13.5ms)
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 82ms (Views: 53.9ms | ActiveRecord: 3.5ms)

Started GET “/users/1/edit” for 127.0.0.1 at 2018-10-06 13:45:25 -0300 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (7.9ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 69ms (Views: 65.4ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-06 13:45:27 -0300 Processing by RoomsController#index as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (27.4ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 104ms (Views: 96.0ms | ActiveRecord: 1.5ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-06 13:45:28 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"yeLtsPIZH1aGJhHTVwalhJcKLgCDDHFxKvEk/Aqy51uxhQ1op39sF7AIrUtnNe/VfCwcj9lL96KvyTxpaRgMTQ=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 13ms (ActiveRecord: 0.9ms)

Started GET “/” for 127.0.0.1 at 2018-10-06 13:45:28 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.3ms)

Completed 200 OK in 41ms (Views: 40.0ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-06 13:45:34 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.5ms)

Completed 200 OK in 69ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:14:22 -0300

 (2.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (7.8ms)

Completed 200 OK in 443ms (Views: 430.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:14:37 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (142.7ms)
Rendered users/sessions/new.html.erb within layouts/application (157.5ms)

Completed 200 OK in 285ms (Views: 228.4ms | ActiveRecord: 17.6ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:14:53 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NVVyqAgvocCB5TJ+CUw7cdhunE0FfzC/r46mzLlngIlN/LQfXGfzn8+eiFtMVR+lAyG0wXysQT9J+sV4WhtlgA==", "user"=>{"email"=>"eeref@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in"}
User Load (372.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "eeref@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 437ms (ActiveRecord: 372.4ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NVVyqAgvocCB5TJ+CUw7cdhunE0FfzC/r46mzLlngIlN/LQfXGfzn8+eiFtMVR+lAyG0wXysQT9J+sV4WhtlgA==", "user"=>{"email"=>"eeref@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.4ms)
Rendered users/sessions/new.html.erb within layouts/application (7.7ms)

Completed 200 OK in 372ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:15:00 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gxnBa4bGhjlYP79DCcoeiY+EUV8jPKs6C+3FnJkIDxUAJgfWYVTVyyWjlee1m+MdhjpCgc/al5m68LYmQKRNSA==", "user"=>{"email"=>"eeref@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "eeref@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 7ms (ActiveRecord: 1.1ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gxnBa4bGhjlYP79DCcoeiY+EUV8jPKs6C+3FnJkIDxUAJgfWYVTVyyWjlee1m+MdhjpCgc/al5m68LYmQKRNSA==", "user"=>{"email"=>"eeref@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.0ms)
Rendered users/sessions/new.html.erb within layouts/application (8.4ms)

Completed 200 OK in 222ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-10-14 11:15:07 -0300 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.4ms)
Rendered users/registrations/new.html.erb within layouts/application (7.4ms)

Completed 200 OK in 50ms (Views: 48.9ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-14 11:15:31 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jkgKMJUweJojJYo/fbgNFA8+xxWbRVkwGsmqHsEoKat7WJQ93n5RGSjZ604eVHvk2F2ydVgYYK2yewgJgModxw==", "user"=>{"username"=>"Andre Souto", "registration"=>"151111111", "course"=>"Computacao", "email"=>"andre@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.2ms)  BEGIN
User Exists (75.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (5.1ms)
Rendered users/registrations/new.html.erb within layouts/application (15.1ms)

Completed 200 OK in 532ms (Views: 69.5ms | ActiveRecord: 75.8ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:15:54 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.9ms)
Rendered users/sessions/new.html.erb within layouts/application (26.2ms)

Completed 200 OK in 87ms (Views: 84.7ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-10-14 11:18:25 -0300 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (5.6ms)
Rendered users/registrations/new.html.erb within layouts/application (44.7ms)

Completed 200 OK in 89ms (Views: 88.0ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-14 11:18:43 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pI2F4WD3r19xjVvHE0r7xnNXVoCux6sYscafyuuH6kZRnRvsK7mG3HpxOrZwpo02pDQj4G2akoUZdD3dqmXeKg==", "user"=>{"username"=>"Andre Souto", "registration"=>"111111111", "course"=>"computacao", "email"=>"andreluis@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andreluis@hotmail.com"], ["LIMIT", 1]]
SQL (256.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andreluis@hotmail.com"], ["encrypted_password", "$2a$11$KWZl6sAOQwns8o/STbeia.ZrquIITKgo1Ag/5WUTv1NxwFabK.g5a"], ["created_at", "2018-10-14 14:18:43.959226"], ["updated_at", "2018-10-14 14:18:43.959226"], ["username", "Andre Souto"], ["registration", "111111111"], ["course", "computacao"]]
 (178.2ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-10-14 14:18:44.396091"], ["last_sign_in_at", "2018-10-14 14:18:44.396091"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-10-14 14:18:44.397272"], ["id", 2]]
 (60.7ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 707ms (ActiveRecord: 496.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:18:44 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (16.9ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 57ms (Views: 55.2ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:18:50 -0300 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (20.1ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (30.5ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 92ms (Views: 58.2ms | ActiveRecord: 22.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:18:56 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (142.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (380.5ms)
Rendered layouts/_header-user.html.erb (13.1ms)

Completed 200 OK in 1564ms (Views: 300.7ms | ActiveRecord: 145.9ms)

Started GET “/users/2/edit” for 127.0.0.1 at 2018-10-14 11:19:02 -0300 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"2"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (11.8ms)
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 73ms (Views: 65.9ms | ActiveRecord: 1.0ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:19:07 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.3ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 101ms (Views: 95.9ms | ActiveRecord: 1.0ms)

Started GET “/my-appointments.2” for 127.0.0.1 at 2018-10-14 11:19:10 -0300 Processing by AppointmentsController#my_appointments as

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.7ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 79ms (Views: 66.5ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:19:13 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.8ms)
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 62ms (Views: 55.0ms | ActiveRecord: 1.2ms)

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "admin@admin.admin"], ["encrypted_password", "$2a$11$ItAkXDJGaqhzzhbyzZhtSe5zZvlZHZD80o5d44nt6srgle2lYhLZC"], ["created_at", "2018-10-14 14:26:37.921484"], ["updated_at", "2018-10-14 14:26:37.921484"], ["username", "rootadmin"], ["registration", "admin000"], ["course", "ADMIN"], ["is_admin", "t"]]
 (62.5ms)  COMMIT
 (0.2ms)  BEGIN
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@teste.teste"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@teste.teste"], ["encrypted_password", "$2a$11$JwX6kO7LCY.qdi6ABV/CJemOf5MSFOWR8L2hgyIpmU9/edaDJk2Eq"], ["created_at", "2018-10-14 14:26:38.199139"], ["updated_at", "2018-10-14 14:26:38.199139"], ["username", "teste"], ["registration", "teste000"], ["course", "TESTE"]]
 (51.7ms)  COMMIT

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:26:59 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by RoomsController#index as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (231.0ms)
Rendered layouts/_header-user.html.erb (6.4ms)

Completed 200 OK in 362ms (Views: 310.9ms | ActiveRecord: 8.0ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:27:01 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"wlzX2InanSBjseVpAs3jVqcmb4SQB/oL0sfnxUcgLI9BYxFlbkjO0h4tz82+nB7Crph8Wnzhxqhj2pR/noxu0g=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 46ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:27:01 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.5ms)

Completed 200 OK in 65ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:27:02 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (18.7ms)
Rendered users/sessions/new.html.erb within layouts/application (30.9ms)

Completed 200 OK in 73ms (Views: 69.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:27:06 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"82u9/1P10Pl2fnCP9C05e8cDZ5M0SnllsXCrXc2aSOo+V2/BghAppK6fbKZt7O8SLVjOREDS1Brp7VdXYOkvMQ==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["current_sign_in_at", "2018-10-14 14:27:06.689767"], ["last_sign_in_at", "2018-10-14 14:27:06.689767"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["sign_in_count", 1], ["updated_at", "2018-10-14 14:27:06.690966"], ["id", 3]]
 (245.4ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 568ms (ActiveRecord: 247.9ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:27:07 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.8ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 57ms (Views: 54.2ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:27:15 -0300 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (11.0ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 80ms (Views: 73.0ms | ActiveRecord: 1.3ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:27:16 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (12.4ms)
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 94ms (Views: 62.5ms | ActiveRecord: 3.3ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:27:17 -0300 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (7.7ms)
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 98ms (Views: 89.9ms | ActiveRecord: 1.4ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-10-14 11:27:18 -0300 Processing by RoomsController#new as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (27.0ms)
Rendered layouts/_header-admin.html.erb (2.5ms)

Completed 200 OK in 96ms (Views: 67.8ms | ActiveRecord: 4.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:27:20 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
Rendered appointments/all_appointments.html.erb within layouts/application (4.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 74ms (Views: 70.6ms | ActiveRecord: 0.9ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:27:21 -0300 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (24.4ms)
Rendered layouts/_header-admin.html.erb (2.4ms)

Completed 200 OK in 109ms (Views: 102.5ms | ActiveRecord: 2.0ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:27:22 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.5ms)
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 89ms (Views: 81.0ms | ActiveRecord: 1.7ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:27:23 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (5.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (9.9ms)
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 57ms (Views: 50.1ms | ActiveRecord: 5.2ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-10-14 11:27:25 -0300 Processing by RoomsController#new as HTML

Parameters: {"authenticity_token"=>"s+S8181oKqhYl5Py8UsNSsLQBZgQUtabyVC/SFLBKXrrY6g4KIY5bbikoN9bNxItm8VC0U/SwY5/uCZzBEtWHA=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (6.6ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 66ms (Views: 61.0ms | ActiveRecord: 0.7ms)

Started POST “/rooms” for 127.0.0.1 at 2018-10-14 11:27:32 -0300 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JdNnX0wdW6hOdeRLDPs4Rpmasz7+qMnQ6hqGGKEyi/x9VHOwqfNIba5G12amhychwI/0d6Eo3sVc8h8j97j0mg==", "room"=>{"name"=>"B303", "location"=>"CIC"}, "commit"=>"Criar Sala"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (6.2ms)  BEGIN
SQL (921.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "B303"], ["location", "CIC"], ["created_at", "2018-10-14 14:27:32.422665"], ["updated_at", "2018-10-14 14:27:32.422665"]]
 (239.5ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 1185ms (ActiveRecord: 1168.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:27:33 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.9ms)
Rendered layouts/_header-admin.html.erb (2.2ms)

Completed 200 OK in 52ms (Views: 50.7ms | ActiveRecord: 0.5ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-10-14 11:27:35 -0300 Processing by RoomsController#new as HTML

Parameters: {"authenticity_token"=>"FO1EQZ2SUMqkV0xfGZ2Vz1nUhBmbvtnArL4OoBruoeZMalCueHxDD0Rkf3Kz4YqoAMHDUMQ+ztUaVpebTGTegA=="}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (6.6ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 74ms (Views: 62.4ms | ActiveRecord: 1.0ms)

Started POST “/rooms” for 127.0.0.1 at 2018-10-14 11:27:40 -0300 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bZKk7EwRiKGyo7LDIC4fqit7ZDyj2aWAz6azgPIYER41FbADqf+bZFKQge6KUgDNcm4jdfxZspV5Tiq7pJJueA==", "room"=>{"name"=>"B304", "location"=>"CIC\r\n"}, "commit"=>"Criar Sala"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "B304"], ["location", "CIC\r\n"], ["created_at", "2018-10-14 14:27:40.589667"], ["updated_at", "2018-10-14 14:27:40.589667"]]
 (217.2ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 228ms (ActiveRecord: 218.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:27:40 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (7.1ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 76ms (Views: 71.9ms | ActiveRecord: 0.9ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-10-14 11:27:42 -0300 Processing by RoomsController#new as HTML

Parameters: {"authenticity_token"=>"XqJSpMsBIVBCbmh5+ZmJfPM+oqlrcmeOPbg0FMJbCQIGJUZLLu8ylaJdW1RT5ZYbqivl4DTycJuLUK0vlNF2ZA=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (5.8ms)
Rendered layouts/_header-admin.html.erb (2.3ms)

Completed 200 OK in 52ms (Views: 47.2ms | ActiveRecord: 0.5ms)

Started POST “/rooms” for 127.0.0.1 at 2018-10-14 11:27:49 -0300 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AHxG2EkAfvpWv7u5Z84Cm8ZLjhjfoBdwYxXshMS6vEJY+1I3rO5tP7aMiJTNsh38n17JUYAgAGXV/XW/kjDDJA==", "room"=>{"name"=>"B305", "location"=>"CIC"}, "commit"=>"Criar Sala"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "B305"], ["location", "CIC"], ["created_at", "2018-10-14 14:27:49.821669"], ["updated_at", "2018-10-14 14:27:49.821669"]]
 (64.2ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 75ms (ActiveRecord: 66.1ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:27:49 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.1ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 60ms (Views: 55.9ms | ActiveRecord: 2.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:27:51 -0300 Processing by RoomsController#index as HTML

Parameters: {"authenticity_token"=>"JKvRAFDY/TFI6VUReW6oJHrg+TRvWVvM4t0RH2pgsyB8LMXvtTbu9KjaZjzTErdDI/W+fTDZTNlUNYgkPOrMRg=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.2ms)
Rendered layouts/_header-admin.html.erb (2.2ms)

Completed 200 OK in 67ms (Views: 62.7ms | ActiveRecord: 0.9ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-10-14 11:27:55 -0300 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (1.5ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 84ms (Views: 73.5ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-10-14 11:27:58 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (1.1ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (33.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (6.9ms)

Completed 200 OK in 108ms (Views: 98.0ms | ActiveRecord: 2.4ms)

Started GET “/rooms/1/edit” for 127.0.0.1 at 2018-10-14 11:28:09 -0300 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (11.9ms)
Rendered layouts/_header-admin.html.erb (10.5ms)

Completed 200 OK in 80ms (Views: 70.8ms | ActiveRecord: 1.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:28:15 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
Rendered appointments/all_appointments.html.erb within layouts/application (6.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 88ms (Views: 84.0ms | ActiveRecord: 1.3ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:28:17 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.4ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 87ms (Views: 79.8ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:28:18 -0300 Processing by RoomsController#index as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (20.5ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 110ms (Views: 101.6ms | ActiveRecord: 1.5ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-10-14 11:28:20 -0300 Processing by RoomsController#new as HTML

User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (14.4ms)
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 99ms (Views: 86.9ms | ActiveRecord: 2.3ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:28:22 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"fGXmV+WgRsc5wBAgwovg7Yr0bEIrM4dbaPZdhnre2vMk4vK4AE5VAtnzIw1o9/+K0+ErC3SzkE7eHsS9LFSllQ=="}
User Load (2.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 16ms (ActiveRecord: 3.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:28:22 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (21.9ms)

Completed 200 OK in 76ms (Views: 74.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:28:24 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.0ms)
Rendered users/sessions/new.html.erb within layouts/application (18.1ms)

Completed 200 OK in 92ms (Views: 90.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:28:29 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WY7QtyTX0bFZpU2zV7L0vMcDAe8NR+foGHztfufDKAzg2xLFtGzmMl/n0zGqeHAWFZJSCDXFyqnfmHLi0OnrqA==", "user"=>{"email"=>"andreluis@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andreluis@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.3ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-10-14 14:28:29.803547"], ["sign_in_count", 2], ["updated_at", "2018-10-14 14:28:29.804405"], ["id", 2]]
 (131.3ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 351ms (ActiveRecord: 132.9ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:28:29 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (5.5ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 74ms (Views: 71.7ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:28:31 -0300 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (12.9ms)
Rendered layouts/_header-user.html.erb (2.0ms)

Completed 200 OK in 69ms (Views: 63.4ms | ActiveRecord: 1.9ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-10-14 11:28:34 -0300 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (1.5ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 72ms (Views: 63.5ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-10-14 11:28:37 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (10.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 69ms (Views: 63.5ms | ActiveRecord: 1.8ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-10-14 11:28:44 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Q8kzkS6XGnfGjywzkDlELT0M4cLWNWi/300J/Czccj/dGh3GGg+nLzoprAlzEV3FeiEkCiFWdu2SbDbEhlmL9g==", "appointment_date"=>"2018-10-15", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (14.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-15 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 2], ["room_id", 1], ["created_at", "2018-10-14 14:28:44.485413"], ["updated_at", "2018-10-14 14:28:44.485413"]]
 (55.4ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 139ms (ActiveRecord: 73.2ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:28:44 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.0ms)
Rendered layouts/_header-admin.html.erb (2.2ms)

Completed 200 OK in 49ms (Views: 46.9ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:28:46 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (13.5ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 76ms (Views: 68.9ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:28:49 -0300 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.0ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 79ms (Views: 73.4ms | ActiveRecord: 1.1ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:28:52 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (7.2ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 83ms (Views: 76.3ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:28:55 -0300 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (12.8ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 94ms (Views: 89.1ms | ActiveRecord: 1.3ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-10-14 11:28:58 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (32.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 102ms (Views: 96.3ms | ActiveRecord: 1.5ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-10-14 11:29:34 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UpxO48HDy2kkmtuvsjrbBNO89EH/lJSGxj63U/33K/fMT2C09Vt2Mdg8W5VREsLslJExiQj3itSLH4hrV3LSPg==", "appointment_date"=>"2018-10-08", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-08 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 2], ["room_id", 1], ["created_at", "2018-10-14 14:29:34.581716"], ["updated_at", "2018-10-14 14:29:34.581716"]]
 (64.8ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 79ms (ActiveRecord: 67.0ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:29:34 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.7ms)
Rendered layouts/_header-admin.html.erb (2.4ms)

Completed 200 OK in 53ms (Views: 51.0ms | ActiveRecord: 0.9ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:29:36 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (2.0ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.2ms)
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 54ms (Views: 46.9ms | ActiveRecord: 2.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:29:38 -0300 Processing by RoomsController#index as HTML

User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.8ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (12.5ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 86ms (Views: 78.3ms | ActiveRecord: 2.6ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-10-14 11:29:42 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (1.0ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (39.4ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.3ms)

Completed 200 OK in 99ms (Views: 88.6ms | ActiveRecord: 2.2ms)

Started GET “/users/2/edit” for 127.0.0.1 at 2018-10-14 11:29:53 -0300 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"2"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (7.7ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 70ms (Views: 64.4ms | ActiveRecord: 0.6ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:29:56 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"nmqcNuPBZy1yYp4PmeNd7schfHkX7pGo40R2iZCuKv1ZebA4VyyDf6fuqujGkVjOoGR32qv6j1jfU8cIToywng=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.4ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:29:56 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 51ms (Views: 48.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:29:57 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (10.1ms)

Completed 200 OK in 55ms (Views: 53.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:30:02 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4THXYSk17wf4mCzu7WzgIuFbr9yJo3Ex3QhqRfPBpBhrUo0l5j+Zb9ETNJjmgE1JVPE4IcLGZT78b4qDwrtnZg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-10-14 14:30:02.498997"], ["sign_in_count", 2], ["updated_at", "2018-10-14 14:30:02.500208"], ["id", 3]]
 (236.2ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 455ms (ActiveRecord: 238.2ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:30:02 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.6ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 55ms (Views: 52.8ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:30:05 -0300 Processing by RoomsController#index as HTML

Parameters: {"authenticity_token"=>"T11UAjzE4zIVEcHiW5ay0x3Cr+Q8bLIYTSN6RlTjxhuMf7GAQcm1Y6kdRRIzIkWKkkIA9w7RoTOMBZpMw3BI+A=="}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (14.0ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 75ms (Views: 68.6ms | ActiveRecord: 1.6ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:30:07 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.8ms)
Rendered layouts/_header-admin.html.erb (11.7ms)

Completed 200 OK in 79ms (Views: 72.5ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:30:08 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.9ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (10.7ms)
Rendered layouts/_header-admin.html.erb (2.3ms)

Completed 200 OK in 71ms (Views: 65.8ms | ActiveRecord: 1.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:30:08 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (18.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 78ms (Views: 72.9ms | ActiveRecord: 2.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-10-14 11:30:11 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 95ms (Views: 81.2ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-10-14 11:30:24 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rcedoRizL5m7EHKMwZEWvim5rdKZLWQFCyrzbxxYsZBmOn5YywuMXccKzg5UWHdtretke1bpVAMII9jONafxBw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-10-14 14:30:24.049494"], ["id", 1]]
 (66.1ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 81ms (ActiveRecord: 68.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:30:24 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 88ms (Views: 82.6ms | ActiveRecord: 2.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-10-14 11:30:25 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.4ms)

Completed 200 OK in 61ms (Views: 53.0ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-10-14 11:30:28 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YEl75WbjhFka5uuxTayrzm2dm6pxKdYg1NUXUP7fKoartJgctVsnnWb8VzPYZcod6c9SA77t5ibX3Dzx1yBqEQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 11ms (ActiveRecord: 1.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:30:28 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 55ms (Views: 52.6ms | ActiveRecord: 1.5ms)

Started GET “/appointments/2/edit” for 127.0.0.1 at 2018-10-14 11:30:29 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"2"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 81ms (Views: 75.2ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/2” for 127.0.0.1 at 2018-10-14 11:30:33 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LdmBo4U9Vicz0OJd/gTOcIlmGK8TNF1tBz00L3mAHEAhHYUWzJixtrfeSQcgaU85WXD0K+NhS5xLRINzxR/M3w==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"2"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-10-14 14:30:33.918615"], ["id", 2]]
 (63.8ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 78ms (ActiveRecord: 66.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:30:33 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (6.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.4ms)

Completed 200 OK in 51ms (Views: 47.1ms | ActiveRecord: 1.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:30:35 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.7ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 91ms (Views: 83.0ms | ActiveRecord: 1.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:30:36 -0300 Processing by RoomsController#index as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (17.9ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 81ms (Views: 73.3ms | ActiveRecord: 1.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:30:37 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.2ms)

Completed 200 OK in 72ms (Views: 68.7ms | ActiveRecord: 1.8ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:30:39 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"u8VZU38A7ZTWX7/LMf+GJQD4akGCAbxg5exsBsG33I1457zRAg27xWpTOztZS3F8j3jFUrC8r0skyowMViRSbg=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 9ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:30:39 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.4ms)

Completed 200 OK in 44ms (Views: 42.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:30:40 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.3ms)
Rendered users/sessions/new.html.erb within layouts/application (13.4ms)

Completed 200 OK in 60ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:30:47 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CcgwXzFE12B8f3OESmDZ3Z+s43uySz3cm/04aGnCACeQ2hjKfdHaW7v+lb8mMbQLBumP/de2dHQcbMLVinK9PQ==", "user"=>{"email"=>"andreluis@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andreluis@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-14 14:30:47.260796"], ["last_sign_in_at", "2018-10-14 14:28:29.803547"], ["sign_in_count", 3], ["updated_at", "2018-10-14 14:30:47.261768"], ["id", 2]]
 (146.5ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 350ms (ActiveRecord: 148.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:30:47 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.5ms)
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 44ms (Views: 41.5ms | ActiveRecord: 0.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:30:48 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (8.3ms)
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 62ms (Views: 57.2ms | ActiveRecord: 0.8ms)

Started DELETE “/appointments/1” for 127.0.0.1 at 2018-10-14 11:30:50 -0300 Processing by AppointmentsController#destroy as HTML

Parameters: {"authenticity_token"=>"eW4yGsyZ8X6av3Jkczr+5q+EvdNrCXErzGx0dS4SecOsLeJ3Cg7IRO/Bdw8QvymDRm31dl7kokf8ASsPWIMU/Q==", "id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  DELETE FROM "appointments" WHERE "appointments"."id" = $1  [["id", 1]]
 (67.7ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 76ms (ActiveRecord: 69.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:30:50 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.4ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 50ms (Views: 48.0ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:30:52 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.0ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 58ms (Views: 52.9ms | ActiveRecord: 1.1ms)

Started GET “/my-appointments.2” for 127.0.0.1 at 2018-10-14 11:30:59 -0300 Processing by AppointmentsController#my_appointments as

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 93ms (Views: 76.7ms | ActiveRecord: 1.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:31:02 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (12.6ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 76ms (Views: 67.8ms | ActiveRecord: 1.3ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:31:07 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (4.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (8.5ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 85ms (Views: 70.0ms | ActiveRecord: 5.1ms)

Started GET “/my-appointments.2” for 127.0.0.1 at 2018-10-14 11:32:40 -0300 Processing by AppointmentsController#my_appointments as

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.5ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 88ms (Views: 71.1ms | ActiveRecord: 1.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:32:40 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (11.8ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 92ms (Views: 82.6ms | ActiveRecord: 1.4ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:32:42 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (4.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (12.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.3ms)

Completed 200 OK in 67ms (Views: 55.9ms | ActiveRecord: 5.4ms)

Started POST “/appointments.2” for 127.0.0.1 at 2018-10-14 11:33:48 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1BQa2HRNsAnGqA4MWk0X2WbsdJWPsJJVEDMIVumMZtyKcOARWKLcdlERbyouzID0UqCIszUVV/Zx/D86rr68Og==", "appointment_date"=>"2018-10-14", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-14 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 2], ["room_id", 2], ["created_at", "2018-10-14 14:33:48.796754"], ["updated_at", "2018-10-14 14:33:48.796754"]]
 (62.1ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 74ms (ActiveRecord: 63.6ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:33:48 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (7.9ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 76ms (Views: 72.1ms | ActiveRecord: 2.0ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:33:51 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.3ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 80ms (Views: 74.5ms | ActiveRecord: 1.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:33:55 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"SWtkcem8eHqKbnr1NgPhwhWJLll4KpAW+l1sW/t/e4+cKLQcLytBQP8Qf55Vhjan/GBm/E3HQ3rKMDMhje4WsQ=="}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:33:55 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 58ms (Views: 56.2ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:33:57 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.4ms)
Rendered users/sessions/new.html.erb within layouts/application (15.6ms)

Completed 200 OK in 59ms (Views: 57.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:34:02 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HoSHa0Wonq+quzdmLP18aL7f8t7RPuw128RehT+9eknAM7JpoAtyF5jc9FIj3nQYPj7WE0wH+ZOjlsJ5S+qRZw==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.3ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-14 14:34:02.749889"], ["last_sign_in_at", "2018-10-14 14:30:02.498997"], ["sign_in_count", 3], ["updated_at", "2018-10-14 14:34:02.750713"], ["id", 3]]
 (178.8ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 407ms (ActiveRecord: 180.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:34:02 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.0ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 67ms (Views: 62.3ms | ActiveRecord: 0.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:34:07 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (15.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (13.0ms)

Completed 200 OK in 94ms (Views: 88.4ms | ActiveRecord: 2.3ms)

Started GET “/appointments/2/edit” for 127.0.0.1 at 2018-10-14 11:34:08 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"2"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.9ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 81ms (Views: 73.9ms | ActiveRecord: 1.1ms)

Started PATCH “/appointments/2” for 127.0.0.1 at 2018-10-14 11:34:09 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nJC8GudWoL1dqXrOnqLO9ov/GIBRr44VMQFx/0H1KND4t75IClCukfKlPc4ANLNyFCNAdQKLdQj1YgiwQXT04w==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"2"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.3ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 15ms (ActiveRecord: 1.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:34:09 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.4ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 72ms (Views: 68.3ms | ActiveRecord: 1.6ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-10-14 11:34:10 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 76ms (Views: 70.8ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-10-14 11:34:12 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uEVvieM2iyDE65yQ73ZJlUIHCti0iaLtUoM/ktjIHSuJAUe4d051cSRFC05f5K7AJcKH07YBg3FXRQgvFQc+gA==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-10-14 14:34:12.618981"], ["id", 3]]
 (152.6ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 164ms (ActiveRecord: 154.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:34:12 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.4ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 67ms (Views: 63.3ms | ActiveRecord: 2.2ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:34:13 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"aM9O9hnGxCuELEHAlB6FR6fQ+KeVYYqhNCbNs4/tMU04v/Zbo/Ujb3MbtIPguNCeu/biIh5r/CaXCEly3FYCbw=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.2ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:34:14 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 56ms (Views: 53.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:34:15 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.3ms)
Rendered users/sessions/new.html.erb within layouts/application (11.5ms)

Completed 200 OK in 57ms (Views: 55.2ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:34:20 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zOHczXyDQqax/ff57g2FtS5WrUuVgyHCLjrTn6M9+14jxf7Nm+Q1IcS4ikN/WhggqSDX7/JryYdXacNeu1MzMw==", "user"=>{"email"=>"andreluis@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andreluis@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-14 14:34:20.733430"], ["last_sign_in_at", "2018-10-14 14:30:47.260796"], ["sign_in_count", 4], ["updated_at", "2018-10-14 14:34:20.734262"], ["id", 2]]
 (162.1ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 359ms (ActiveRecord: 163.2ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:34:20 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (5.1ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 62ms (Views: 59.2ms | ActiveRecord: 0.6ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:34:22 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.5ms)
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 54ms (Views: 47.5ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:34:25 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (15.3ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 95ms (Views: 87.2ms | ActiveRecord: 1.5ms)

Started GET “/users/2/edit” for 127.0.0.1 at 2018-10-14 11:34:26 -0300 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"2"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (12.5ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 94ms (Views: 86.0ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:34:33 -0300 Processing by RoomsController#index as HTML

User Load (3.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (18.2ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 93ms (Views: 77.8ms | ActiveRecord: 3.9ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-10-14 11:36:21 -0300 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (1.1ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 79ms (Views: 71.0ms | ActiveRecord: 1.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:36:25 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.3ms)
Rendered layouts/_header-user.html.erb (2.1ms)

Completed 200 OK in 81ms (Views: 75.1ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:36:34 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.9ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.6ms)
Rendered layouts/_header-user.html.erb (2.1ms)

Completed 200 OK in 76ms (Views: 69.2ms | ActiveRecord: 1.7ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:37:16 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (1.1ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (14.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 72ms (Views: 64.9ms | ActiveRecord: 2.4ms)

Started POST “/appointments.2” for 127.0.0.1 at 2018-10-14 11:37:29 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eoKWZeoTeKGEnvJeFctgPQWy/AmQW9l+hM3IKwalN0onlc5koyIShtsciZRSLFQjrYs3ZftDrqEG8UYGCahQCA==", "appointment_date"=>"2018-10-14", "start_time"=>"10:00", "commit"=>"Alugar"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-14 00:00:00"], ["start_time", "10:00:00"], ["status", 1], ["user_id", 2], ["room_id", 2], ["created_at", "2018-10-14 14:37:29.776664"], ["updated_at", "2018-10-14 14:37:29.776664"]]
 (61.2ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 76ms (ActiveRecord: 63.5ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:37:29 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.2ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 62ms (Views: 60.2ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:37:31 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 2]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.9ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 62ms (Views: 56.1ms | ActiveRecord: 0.9ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:37:33 -0300 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.5ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 67ms (Views: 60.5ms | ActiveRecord: 0.9ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:37:34 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (29.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 91ms (Views: 86.3ms | ActiveRecord: 1.6ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:37:36 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"zOtEfTkoc84d8tzxY4GHnQupyTBcxTdcn3Tqc2Cgs+nljQJnM9QDsxpzgB/aiGXwYLxe87TXFoDVQdhbtgO5Yw=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:37:36 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.3ms)

Completed 200 OK in 48ms (Views: 47.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:37:37 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.7ms)
Rendered users/sessions/new.html.erb within layouts/application (14.7ms)

Completed 200 OK in 72ms (Views: 69.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:37:41 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HTho1IoG31oDgRZBsbQ2RVk+vIhbjlRkdWSEgLKhfZsD7WSfCr3fT+mT41si/NNuQgpc4o3Rnxt/9r0jqfcHvw==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-14 14:37:41.916347"], ["last_sign_in_at", "2018-10-14 14:34:02.749889"], ["sign_in_count", 4], ["updated_at", "2018-10-14 14:37:41.917223"], ["id", 3]]
 (156.1ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 302 Found in 370ms (ActiveRecord: 158.1ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:37:42 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.5ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 80ms (Views: 75.1ms | ActiveRecord: 0.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:37:47 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (8.0ms)
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 93ms (Views: 84.0ms | ActiveRecord: 1.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:37:48 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (26.4ms)
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 93ms (Views: 86.4ms | ActiveRecord: 3.2ms)

Started GET “/appointments/2/edit” for 127.0.0.1 at 2018-10-14 11:37:50 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"2"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 74ms (Views: 69.2ms | ActiveRecord: 0.8ms)

Started GET “/appointments/4/edit” for 127.0.0.1 at 2018-10-14 11:37:53 -0300 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"4"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.4ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 81ms (Views: 76.9ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/4” for 127.0.0.1 at 2018-10-14 11:37:55 -0300 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9KX8sDwGhBbvUcdi9nT6utv7hSiiflepL3/3Oi40a9OElQpyDxu8j/qOicLuaD4GOEWxQFKRSHMD7xrOkTEZpw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"4"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 4], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-10-14 14:37:55.398923"], ["id", 4]]
 (61.8ms)  COMMIT

Redirected to 0.0.0.0:3000/all-appointments Completed 302 Found in 81ms (ActiveRecord: 63.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-10-14 11:37:55 -0300 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 72ms (Views: 67.8ms | ActiveRecord: 2.0ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-14 11:37:56 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"l8waE6+dOjrtA+Gktb/yYdpCrQ8kTGIHidPLjlWZzCYWe1alR3VrYAWWNKOBkFdqz3Lij5Rjw+U2eZPgeBfj3A=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 13ms (ActiveRecord: 1.2ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:37:56 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.8ms)

Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-14 11:38:06 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.8ms)
Rendered users/sessions/new.html.erb within layouts/application (18.8ms)

Completed 200 OK in 87ms (Views: 84.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-14 11:38:10 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rm+mx0jYMzg8k5VDu49N87h5y42haQVbAC4bNneQlJ/cPf7Ew+b8m2JQxe+6okG3NSEcbX7aWRrhIuRGm6WNGw==", "user"=>{"email"=>"teste@teste.teste", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "teste@teste.teste"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["current_sign_in_at", "2018-10-14 14:38:10.345900"], ["last_sign_in_at", "2018-10-14 14:38:10.345900"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["sign_in_count", 1], ["updated_at", "2018-10-14 14:38:10.346797"], ["id", 4]]
 (194.0ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 417ms (ActiveRecord: 196.1ms)

Started GET “/” for 127.0.0.1 at 2018-10-14 11:38:10 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.3ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 56ms (Views: 53.6ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:38:12 -0300 Processing by RoomsController#index as HTML

User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (17.1ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 83ms (Views: 73.9ms | ActiveRecord: 1.9ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:38:14 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (31.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 100ms (Views: 87.1ms | ActiveRecord: 1.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:39:03 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (1.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 4]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.3ms)
Rendered layouts/_header-user.html.erb (3.6ms)

Completed 200 OK in 63ms (Views: 51.9ms | ActiveRecord: 2.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:39:04 -0300 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (6.0ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (18.9ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 106ms (Views: 92.9ms | ActiveRecord: 6.8ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:39:06 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (19.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 83ms (Views: 79.2ms | ActiveRecord: 1.6ms)

Started GET “/users/4/edit” for 127.0.0.1 at 2018-10-14 11:43:14 -0300 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"4"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (10.7ms)
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 70ms (Views: 65.8ms | ActiveRecord: 0.7ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:44:53 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (26.2ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 84ms (Views: 79.6ms | ActiveRecord: 1.1ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:44:58 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (38.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 96ms (Views: 89.4ms | ActiveRecord: 1.6ms)

Started POST “/appointments.2” for 127.0.0.1 at 2018-10-14 11:45:24 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"C29k0PvOXbkCK551dECWHxLIXy5NXZ/5g4KswSOL5Wr2YsfetBKLzdQRxnoxSWiSn88HEEUuX/3bgqNjB6QDYw==", "appointment_date"=>"2018-10-14", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 4], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-14 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 4], ["room_id", 2], ["created_at", "2018-10-14 14:45:24.769113"], ["updated_at", "2018-10-14 14:45:24.769113"]]
 (59.3ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 74ms (ActiveRecord: 61.0ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:45:24 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.6ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:45:27 -0300 Processing by RoomsController#index as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (8.0ms)
Rendered layouts/_header-user.html.erb (2.1ms)

Completed 200 OK in 69ms (Views: 65.3ms | ActiveRecord: 0.8ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:45:28 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (3.2ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (33.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 84ms (Views: 75.7ms | ActiveRecord: 3.8ms)

Started POST “/appointments.2” for 127.0.0.1 at 2018-10-14 11:45:39 -0300 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OIFxEmRHt3d2NdvM3z1EyKPJ28F3QALF1/2wYfBKVX7FjNIcK5thA6APg8OaNLpFLs6D/38zwsGP/b/D1GWzdw==", "appointment_date"=>"2018-10-14", "start_time"=>"10:00", "commit"=>"Alugar"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
User Load (10.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 4], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-10-14 00:00:00"], ["start_time", "10:00:00"], ["status", 1], ["user_id", 4], ["room_id", 2], ["created_at", "2018-10-14 14:45:39.488562"], ["updated_at", "2018-10-14 14:45:39.488562"]]
 (62.4ms)  COMMIT

Redirected to 0.0.0.0:3000/backoffice Completed 200 OK in 84ms (ActiveRecord: 74.2ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-10-14 11:45:39 -0300 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (2.6ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-10-14 11:45:41 -0300 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 4]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.1ms)
Rendered layouts/_header-user.html.erb (3.9ms)

Completed 200 OK in 54ms (Views: 49.4ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-14 11:45:43 -0300 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (5.7ms)
Rendered layouts/_header-user.html.erb (2.3ms)

Completed 200 OK in 59ms (Views: 48.2ms | ActiveRecord: 0.9ms)

Started GET “/appointments/2” for 127.0.0.1 at 2018-10-14 11:45:44 -0300 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"2"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-10-08' AND room_id = '2')
Rendered appointments/show.html.erb within layouts/application (40.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 4], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.2ms)

Completed 200 OK in 106ms (Views: 91.5ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-10-20 10:19:49 -0300 Started GET “/” for 127.0.0.1 at 2018-10-20 10:19:50 -0300

 (18.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (19.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML Processing by RoomsController#index as HTML Redirected to 0.0.0.0:3000/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.0ms)

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.9ms)

Completed 200 OK in 1992ms (Views: 1961.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-20 10:19:55 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (202.8ms)
Rendered users/sessions/new.html.erb within layouts/application (356.5ms)

Completed 200 OK in 515ms (Views: 456.0ms | ActiveRecord: 21.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 12:21:14 -0300

 (20.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (7.3ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 12:21:16 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.8ms)

Completed 200 OK in 11339ms (Views: 11304.0ms | ActiveRecord: 0.0ms)

Completed 200 OK in 9826ms (Views: 9824.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:21:30 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (319.1ms)
Rendered users/sessions/new.html.erb within layouts/application (545.1ms)

Completed 200 OK in 944ms (Views: 780.8ms | ActiveRecord: 51.8ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:22:03 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (15.0ms)

Completed 200 OK in 97ms (Views: 94.7ms | ActiveRecord: 0.0ms)

 (0.4ms)  SELECT pg_try_advisory_lock(6530939546169874185)
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Migrating to AddResetToUser (20181028154228)

 (0.2ms)  BEGIN
 (102.3ms)  ALTER TABLE "users" ADD "reset_digest" character varying
 (0.6ms)  ALTER TABLE "users" ADD "reset_sent_at" timestamp
SQL (0.8ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20181028154228"]]
 (70.0ms)  COMMIT
ActiveRecord::InternalMetadata Load (42.8ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.4ms)  COMMIT
 (0.6ms)  SELECT pg_advisory_unlock(6530939546169874185)
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:50:01 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (28.6ms)
Rendered users/sessions/new.html.erb within layouts/application (281.1ms)

Completed 200 OK in 399ms (Views: 359.5ms | ActiveRecord: 3.9ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:50:04 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.4ms)

Completed 200 OK in 83ms (Views: 81.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:51:09 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (10.0ms)

Completed 200 OK in 90ms (Views: 88.5ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:51:31 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.9ms)

Completed 200 OK in 82ms (Views: 79.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:51:35 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 69ms (Views: 68.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:51:48 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.7ms)

Completed 200 OK in 86ms (Views: 83.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:51:49 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.2ms)

Completed 200 OK in 93ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:52:01 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.6ms)
Rendered users/sessions/new.html.erb within layouts/application (33.2ms)

Completed 200 OK in 105ms (Views: 100.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:52:02 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.5ms)
Rendered users/sessions/new.html.erb within layouts/application (19.2ms)

Completed 200 OK in 95ms (Views: 91.5ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:52:03 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.0ms)

Completed 200 OK in 61ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:52:05 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.7ms)

Completed 200 OK in 73ms (Views: 71.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:52:14 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.7ms)

Completed 200 OK in 60ms (Views: 58.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 12:52:16 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.7ms)
Rendered users/sessions/new.html.erb within layouts/application (12.9ms)

Completed 200 OK in 71ms (Views: 61.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:52:18 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.0ms)

Completed 200 OK in 72ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:52:47 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.6ms)

Completed 200 OK in 104ms (Views: 101.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:53:05 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (9.0ms)

Completed 200 OK in 75ms (Views: 73.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 12:53:18 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-28 13:04:30 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CsQ2ooF9q6rOg50SIFEZVzaEvtt5uCwYc+wysqViUrEVRYFM3CBGb0q7JaV3a+TPbR1LbLSrH4faoaX7M9uHMQ==", "user"=>{"email"=>"jadsads@hotmail.com"}, "commit"=>"Confirmar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CsQ2ooF9q6rOg50SIFEZVzaEvtt5uCwYc+wysqViUrEVRYFM3CBGb0q7JaV3a+TPbR1LbLSrH4faoaX7M9uHMQ==", "user"=>{"email"=>"jadsads@hotmail.com"}, "commit"=>"Confirmar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (8.4ms)

Completed 200 OK in 94ms (Views: 55.1ms | ActiveRecord: 8.2ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 13:04:36 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.7ms)

Completed 200 OK in 64ms (Views: 62.7ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-28 13:04:45 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cBZm3aXXE2wce8kQIqv6kDUjhiGnk9ts5phgrx43saJvl9Ez+Ir+qZhDcad1kQcIbrpzlmqA6PNP1ffmiI5kIg==", "user"=>{"email"=>"asdsad@hotmail.com"}, "commit"=>"Confirmar"}

Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cBZm3aXXE2wce8kQIqv6kDUjhiGnk9ts5phgrx43saJvl9Ez+Ir+qZhDcad1kQcIbrpzlmqA6PNP1ffmiI5kIg==", "user"=>{"email"=>"asdsad@hotmail.com"}, "commit"=>"Confirmar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.3ms)
Rendered users/sessions/new.html.erb within layouts/application (15.2ms)

Completed 200 OK in 84ms (Views: 80.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 13:08:21 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (11.1ms)

Completed 200 OK in 84ms (Views: 54.3ms | ActiveRecord: 5.8ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 13:08:23 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.7ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-28 13:08:30 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pFq0pYbxXiwtFF8jihTZqZARtZ0naDSZJbBcgHM4h7272wNL26yz6aks55TdLiQxy4hAKup7BwaM/cvJ5YFSPQ==", "user"=>{"email"=>"andr@hotmail.com"}, "commit"=>"Confirmar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pFq0pYbxXiwtFF8jihTZqZARtZ0naDSZJbBcgHM4h7272wNL26yz6aks55TdLiQxy4hAKup7BwaM/cvJ5YFSPQ==", "user"=>{"email"=>"andr@hotmail.com"}, "commit"=>"Confirmar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (14.3ms)

Completed 200 OK in 64ms (Views: 62.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:43:37 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.8ms)

Completed 200 OK in 88ms (Views: 86.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-28 20:43:43 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0ek4FIZHDcIoI++7zwhK/ok4nmVyfmQyyWY8ELWCp33OaI/62xrgB6wbVwyYMrdm0qFr0r9tV61gK6tZIzty/Q==", "user"=>{"email"=>"andrelus@hotmail.com"}, "commit"=>"Confirmar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0ek4FIZHDcIoI++7zwhK/ok4nmVyfmQyyWY8ELWCp33OaI/62xrgB6wbVwyYMrdm0qFr0r9tV61gK6tZIzty/Q==", "user"=>{"email"=>"andrelus@hotmail.com"}, "commit"=>"Confirmar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (10.2ms)

Completed 200 OK in 63ms (Views: 61.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 20:44:22 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (12.1ms)

Completed 200 OK in 60ms (Views: 58.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:44:24 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.6ms)

Completed 200 OK in 90ms (Views: 88.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:46:44 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.4ms)

Completed 200 OK in 53ms (Views: 51.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 20:46:46 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (13.2ms)

Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:46:47 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (18.2ms)

Completed 200 OK in 75ms (Views: 73.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:47:13 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 82ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-28 20:47:21 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Fkx6UpkLiqHELwq7pj7uGHLnJLzGsU9QqnArtW6EZbcJzc28xFZnZEAXsgzxBBOAKX7RCwuifM8DPbz8+D2wNw==", "user"=>{"email"=>"andreluis@hotmail.com"}, "commit"=>"Confirmar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Fkx6UpkLiqHELwq7pj7uGHLnJLzGsU9QqnArtW6EZbcJzc28xFZnZEAXsgzxBBOAKX7RCwuifM8DPbz8+D2wNw==", "user"=>{"email"=>"andreluis@hotmail.com"}, "commit"=>"Confirmar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.1ms)
Rendered users/sessions/new.html.erb within layouts/application (13.4ms)

Completed 200 OK in 79ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:47:24 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.6ms)

Completed 200 OK in 61ms (Views: 59.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 20:49:26 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.6ms)
Rendered users/sessions/new.html.erb within layouts/application (13.0ms)

Completed 200 OK in 70ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:49:28 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (8.2ms)

Completed 200 OK in 62ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 20:49:36 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HL8o5a1UEkgzJk9QNYhEsd1m4if2nnv3QJOr0e5wnPPLgpX7Mj8vuu4/mxh0zbcaKVxwOx/CvQAFRTZQNsaj9A==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (222.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "cdcdcc@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 627ms (Views: 65.5ms | ActiveRecord: 223.3ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 20:49:42 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.8ms)
Rendered users/sessions/new.html.erb within layouts/application (19.4ms)

Completed 200 OK in 105ms (Views: 96.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 20:49:50 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 84ms (Views: 82.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 20:49:52 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LUCueCM2Hmn1P62eUAWx8Sg8fLLvjKifEkyCKgzSCc/6fRNmvF0jmygmedYRQEJa3AburgbQbmhXmh+r1GQ2yA==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (26.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 43ms (ActiveRecord: 26.3ms)

NoMethodError (undefined method `new_token' for #<Class:0x007feed075fb18>):

app/models/user.rb:19:in `create_reset_digest' app/controllers/password_resets_controller.rb:9:in `create' Started GET “/login” for 127.0.0.1 at 2018-10-28 20:59:40 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.2ms)
Rendered users/sessions/new.html.erb within layouts/application (12.6ms)

Completed 200 OK in 82ms (Views: 54.9ms | ActiveRecord: 3.9ms)

Started GET “/create_user” for 127.0.0.1 at 2018-10-28 20:59:42 -0300 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.8ms)
Rendered users/registrations/new.html.erb within layouts/application (19.3ms)

Completed 200 OK in 91ms (Views: 89.8ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-28 21:00:03 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hQXcjZ5KS2qUb0t0enC3Yzx2iU6zUOKirhkJwq+14B9LhxizLEwg56LVyzxgq4V0gt1M34/pT1gagTnHKqXY0g==", "user"=>{"username"=>"andre", "registration"=>"14", "course"=>"engenharia comp", "email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.2ms)  BEGIN
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.9ms)
Rendered users/registrations/new.html.erb within layouts/application (10.1ms)

Completed 200 OK in 808ms (Views: 55.9ms | ActiveRecord: 0.9ms)

Started POST “/create_user” for 127.0.0.1 at 2018-10-28 21:00:13 -0300 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/SbZJn9uTgqqk39N/pNtZx51yVJDhfkhDwKuB0aHZMlQ+9MuKwRNC2pLKIX1tuPHtDyS3OF6gAgxFwlSizoBVQ==", "user"=>{"username"=>"andre", "registration"=>"14", "course"=>"engenharia comp", "email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
SQL (19.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre_luisferreira@hotmail.com"], ["encrypted_password", "$2a$11$lOAWkKBCqMdgmiuaO1KO/eIac9Xz.4yivp0eIV9dwFN7sOLw4Tee."], ["created_at", "2018-10-29 00:00:13.872363"], ["updated_at", "2018-10-29 00:00:13.872363"], ["username", "andre"], ["registration", "14"], ["course", "engenharia comp"]]
 (56.9ms)  COMMIT
 (0.3ms)  BEGIN
SQL (1.1ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-10-29 00:00:13.951167"], ["last_sign_in_at", "2018-10-29 00:00:13.951167"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-10-29 00:00:13.952209"], ["id", 5]]
 (60.4ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 339ms (ActiveRecord: 138.8ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 21:00:14 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.4ms)
Rendered layouts/_header-user.html.erb (23.5ms)

Completed 200 OK in 89ms (Views: 86.4ms | ActiveRecord: 0.8ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-28 21:00:18 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"SpO0TT16NuEzIXcX8RWzm1EBW+A1A8ySJ3F5K6Jwt2jnTr5FaRA14PP5IN/6MD07+0gAbpf8tbsZZN5+b83S9A=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to 0.0.0.0:3000/ Completed 302 Found in 34ms (ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 21:00:19 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 54ms (Views: 52.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 21:00:20 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.1ms)
Rendered users/sessions/new.html.erb within layouts/application (25.1ms)

Completed 200 OK in 94ms (Views: 92.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 21:00:21 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.4ms)

Completed 200 OK in 58ms (Views: 57.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:00:28 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"U6GctqGdQP3v02oQkTos+0jtI+c88KYv/K0VLEAmZ4Jf0Qoj+oxLdRnXcSqjcqtZOfILDXrlj3ILu93/ixXYCA==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.5ms)

NameError (uninitialized constant User::UserMailer):

app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started GET “/login” for 127.0.0.1 at 2018-10-28 21:11:07 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (28.2ms)
Rendered users/sessions/new.html.erb within layouts/application (263.4ms)

Completed 200 OK in 385ms (Views: 344.0ms | ActiveRecord: 4.1ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 21:11:09 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.0ms)

Completed 200 OK in 95ms (Views: 91.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:11:11 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TVK8rlWcA23M+EZyeuFHEdHaGPS1KQ8ufUjJP9dm5FxBIio7Do0I5Tr8XUhIqcCzoMUwHvM8JnOKXgHsHFVb1g==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (14.5ms)

UserMailer#password_reset: processed outbound mail in 41.8ms Completed 500 Internal Server Error in 1022ms (ActiveRecord: 0.7ms)

ActionView::Template::Error (undefined method `name' for #<User:0x007f512da3f810>):

1: Hi <%= @user.name %>,
2: 
3: Welcome to the Sample App! Click on the link below to activate your account:
4:

app/views/user_mailer/password_reset.text.erb:1:in `_app_views_user_mailer_password_reset_text_erb___791736709965736503_69993273808320' app/mailers/user_mailer.rb:11:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:11:46 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OTDfRAjbKiLGyMIdxHQC54c2kdIzI/Rd37z7dCHGN9t1cUxd+3MFz5clexeYrHgvVlHY14F787HGl5BgGnWPhg==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (837.9ms)

UserMailer#password_reset: processed outbound mail in 848.3ms Completed 500 Internal Server Error in 852ms (ActiveRecord: 0.5ms)

ActionView::Template::Error (undefined method `edit_account_activation_url' for #<#<Class:0x007f5128719fc8>:0x007f5128396c98> Did you mean? edit_appointment_url):

2: 
3: Welcome to the Sample App! Click on the link below to activate your account:
4: 
5: <%= edit_account_activation_url(@user.activation_token, email: @user.email) %>

app/views/user_mailer/password_reset.text.erb:5:in `_app_views_user_mailer_password_reset_text_erb___791736709965736503_69993272083840' app/mailers/user_mailer.rb:11:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:12:17 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OTDfRAjbKiLGyMIdxHQC54c2kdIzI/Rd37z7dCHGN9t1cUxd+3MFz5clexeYrHgvVlHY14F787HGl5BgGnWPhg==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 186.9ms Sent mail to andre_luisferreira@hotmail.com (164.5ms) Date: Sun, 28 Oct 2018 21:12:17 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd6506169c64_adb23333b0784e@andre-VPCEG27FM.mail> Subject: Account activation Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd6506153e63_adb23333b07837d";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd6506153e63_adb23333b07837d Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

User#password_reset

Hi, find me in app/views/user_mailer/password_reset.text.erb

—-==_mimepart_5bd6506153e63_adb23333b07837d Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
       Email styles need to be inline   
  </style>
</head>

<body>
  <h1>User#password_reset</h1>

<p>

Hi, find me in app/views/user_mailer/password_reset.html.erb

</p>

</body>

</html>

—-==_mimepart_5bd6506153e63_adb23333b07837d–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 360ms (ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 21:12:17 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 72ms (Views: 70.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 21:13:45 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.5ms)
Rendered users/sessions/new.html.erb within layouts/application (15.4ms)

Completed 200 OK in 67ms (Views: 65.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 21:13:47 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.2ms)

Completed 200 OK in 62ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:13:48 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IT2zV5pk4WIEjAeHTVd1m5DZ6xYCxlfD7sYx8Q2/fvQtTSXCwXXq6vKIHL1/H/I54cbD/ETTfp4Z0PkixozBfg==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 17.5ms Sent mail to andre_luisferreira@hotmail.com (7.8ms) Date: Sun, 28 Oct 2018 21:13:48 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd650bcdb3ec_adb2332fdc78639@andre-VPCEG27FM.mail> Subject: Account activation Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd650bcda017_adb2332fdc78532";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd650bcda017_adb2332fdc78532 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

User#password_reset

Hi, find me in app/views/user_mailer/password_reset.text.erb

—-==_mimepart_5bd650bcda017_adb2332fdc78532 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
       Email styles need to be inline   
  </style>
</head>

<body>
  <h1>User#password_reset</h1>

<p>

Hi, find me in app/views/user_mailer/password_reset.html.erb

</p>

</body>

</html>

—-==_mimepart_5bd650bcda017_adb2332fdc78532–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 33ms (ActiveRecord: 0.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 21:13:48 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.7ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 21:14:18 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (10.8ms)

Completed 200 OK in 82ms (Views: 57.1ms | ActiveRecord: 3.1ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 21:14:19 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.8ms)

Completed 200 OK in 78ms (Views: 75.5ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:14:21 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"syV7XtPkx3sIdSgrR6hBL5lD0cwmvpV7kWswYIFeno+/Ve3LiPXM8/5xMxF14MaN6Fz5JmCrvCZmffizSm0hBQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

UserMailer#password_reset: processed outbound mail in 8.8ms Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.5ms)

NoMethodError (undefined method `name' for #<User:0x007f5128a92268>):

app/mailers/user_mailer.rb:10:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:15:26 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EgAJZHcfV3tSS0aWDpO6NX2txQACIgkoCRguG1w07DxeQZp9hLd4lgOm/5xSS8D9rMqMBbB6DsQQM0UPZ4dUYQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 13.3ms Sent mail to andre_luisferreira@hotmail.com (6.5ms) Date: Sun, 28 Oct 2018 21:15:26 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd6511e7f318_adb233316c788ae@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd6511e7dbe8_adb233316c7878b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd6511e7dbe8_adb233316c7878b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

User#password_reset

Hi, find me in app/views/user_mailer/password_reset.text.erb

—-==_mimepart_5bd6511e7dbe8_adb233316c7878b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>User#password_reset</h1>

<p>

Hi, find me in app/views/user_mailer/password_reset.html.erb

</p>

</body>

</html>

—-==_mimepart_5bd6511e7dbe8_adb233316c7878b–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 59ms (ActiveRecord: 3.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 21:15:26 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.3ms)

Completed 200 OK in 61ms (Views: 58.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 21:15:27 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.8ms)
Rendered users/sessions/new.html.erb within layouts/application (16.6ms)

Completed 200 OK in 73ms (Views: 70.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 21:16:27 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.3ms)

Completed 200 OK in 49ms (Views: 48.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:16:29 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"t7kR447yDkJ6i1JCQAn+iwKfMypgvy5OdfIjdrr1ah+7yYd21eMFyoyPSXhyQXkpc4AbwCaqBxOC5OulccbVlQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 231ms (ActiveRecord: 8.5ms)

NameError (undefined local variable or method `user' for #<PasswordResetsController:0x007f512e3808e8> Did you mean? @user):

app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:16:40 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J9Xr/gVvSJyicBXqUcUuJHaWVjG6sPUte5iKia6iY/BrlHjn9sdncfOdrOANHVTsp/EfNAjo8sFis+GdlRHbrQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 28ms (ActiveRecord: 4.4ms)

ArgumentError (wrong number of arguments (given 1, expected 0)):

app/models/user.rb:25:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 21:20:56 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J9Xr/gVvSJyicBXqUcUuJHaWVjG6sPUte5iKia6iY/BrlHjn9sdncfOdrOANHVTsp/EfNAjo8sFis+GdlRHbrQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)

UserMailer#password_reset: processed outbound mail in 7.5ms Completed 500 Internal Server Error in 41ms (ActiveRecord: 4.0ms)

ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“password_resets”, :email=>“andre_luisferreira@hotmail.com”}, missing required keys: [:id]):

2: 
3: <p>To reset your password click the link below:</p>
4: 
5: <%= link_to "Reset password", edit_password_reset_url(email: @user.email) %>
6: 
7: <p>This link will expire in two hours.</p>
8:

app/views/user_mailer/password_reset.html.erb:5:in `_app_views_user_mailer_password_reset_html_erb__3861230149017041681_69993353821300' app/mailers/user_mailer.rb:11:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:07:25 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J9Xr/gVvSJyicBXqUcUuJHaWVjG6sPUte5iKia6iY/BrlHjn9sdncfOdrOANHVTsp/EfNAjo8sFis+GdlRHbrQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 12.1ms Sent mail to andre_luisferreira@hotmail.com (2.5ms) Date: Sun, 28 Oct 2018 22:07:25 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd65d4de0af_adb23333b0790cb@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd65d4dd71b_adb23333b07894e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd65d4dd71b_adb23333b07894e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd65d4dd71b_adb23333b07894e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd65d4dd71b_adb23333b07894e–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 18ms (ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:07:25 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.7ms)

Completed 200 OK in 54ms (Views: 52.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:07:28 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.1ms)
Rendered users/sessions/new.html.erb within layouts/application (10.0ms)

Completed 200 OK in 68ms (Views: 62.1ms | ActiveRecord: 0.0ms)

Started GET “/rails/mailers/user_mailer/password_reset” for 127.0.0.1 at 2018-10-28 22:09:50 -0300 Processing by Rails::MailersController#preview as HTML

Parameters: {"path"=>"user_mailer/password_reset"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NameError (uninitialized constant UserMailerPreview::UserMailerMailer):

spec/mailers/previews/user_mailer_preview.rb:6:in `password_reset' actionmailer (5.1.6) lib/action_mailer/preview.rb:67:in `public_send' actionmailer (5.1.6) lib/action_mailer/preview.rb:67:in `call' railties (5.1.6) lib/rails/mailers_controller.rb:22:in `preview' actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.1.6) lib/abstract_controller/base.rb:186:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.1.6) lib/active_support/callbacks.rb:131:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:25:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/rails/mailers/user_mailer/password_reset” for 127.0.0.1 at 2018-10-28 22:10:10 -0300 Processing by Rails::MailersController#preview as HTML

Parameters: {"path"=>"user_mailer/password_reset"}
User Load (1.4ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 12.3ms

Rendering /var/lib/gems/2.3.0/gems/railties-5.1.6/lib/rails/templates/rails/mailers/email.html.erb
Rendered /var/lib/gems/2.3.0/gems/railties-5.1.6/lib/rails/templates/rails/mailers/email.html.erb (4.1ms)

Completed 200 OK in 99ms (Views: 41.0ms | ActiveRecord: 8.1ms)

Started GET “/rails/mailers/user_mailer/password_reset?part=text%2Fhtml” for 127.0.0.1 at 2018-10-28 22:10:10 -0300 Processing by Rails::MailersController#preview as HTML

Parameters: {"part"=>"text/html", "path"=>"user_mailer/password_reset"}
User Load (0.5ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.2ms

Rendering text template
Rendered text template (0.1ms)

Completed 200 OK in 170ms (Views: 150.4ms | ActiveRecord: 0.5ms)

Started GET “/rails/mailers/user_mailer/password_reset” for 127.0.0.1 at 2018-10-28 22:12:52 -0300 Processing by Rails::MailersController#preview as HTML

Parameters: {"path"=>"user_mailer/password_reset"}
User Load (0.6ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.8ms

Rendering /var/lib/gems/2.3.0/gems/railties-5.1.6/lib/rails/templates/rails/mailers/email.html.erb
Rendered /var/lib/gems/2.3.0/gems/railties-5.1.6/lib/rails/templates/rails/mailers/email.html.erb (3.3ms)

Completed 200 OK in 23ms (Views: 5.2ms | ActiveRecord: 0.6ms)

Started GET “/rails/mailers/user_mailer/password_reset?part=text%2Fhtml” for 127.0.0.1 at 2018-10-28 22:12:52 -0300 Processing by Rails::MailersController#preview as HTML

Parameters: {"part"=>"text/html", "path"=>"user_mailer/password_reset"}
User Load (0.6ms)  SELECT  "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT $1  [["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.7ms

Rendering text template
Rendered text template (0.0ms)

Completed 200 OK in 21ms (Views: 0.6ms | ActiveRecord: 0.6ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:12:55 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 61ms (Views: 58.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:12:57 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OQRcWZemp0A9thUlfEUoJsvujxQhQrPOpl1vW8wUrl81dMrMzLesyMuyDh9ODa+EuvGn/mdXmpNRS6eIBycR1Q==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 12.2ms Sent mail to andre_luisferreira@hotmail.com (4.3ms) Date: Sun, 28 Oct 2018 22:12:57 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd65e994fd66_adb23330a4796aa@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd65e994e9b3_adb23330a47959f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd65e994e9b3_adb23330a47959f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd65e994e9b3_adb23330a47959f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd65e994e9b3_adb23330a47959f–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 26ms (ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:12:57 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.2ms)

Completed 200 OK in 47ms (Views: 45.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:12:59 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (16.1ms)

Completed 200 OK in 68ms (Views: 65.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:18:32 -0300

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (30.9ms)
Rendered users/sessions/new.html.erb within layouts/application (257.1ms)

Completed 200 OK in 448ms (Views: 407.7ms | ActiveRecord: 4.6ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:18:33 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.3ms)

Completed 200 OK in 82ms (Views: 79.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:18:35 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EKcNXOSyJxJ7VwIdOHRgJCr/zR2NsUEXVyy06lL9GV4c15vJv6Msmo1TGScKPOeGW+Dl98ukaEqgOnw5mc6m1A==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 310.9ms Sent mail to andre_luisferreira@hotmail.com (3068.3ms) Date: Sun, 28 Oct 2018 22:18:36 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd65fec4b1b9_64231b6b498233c3@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd65fec49a78_64231b6b498232e1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd65fec49a78_64231b6b498232e1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd65fec49a78_64231b6b498232e1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd65fec49a78_64231b6b498232e1–

Completed 500 Internal Server Error in 3406ms (ActiveRecord: 1.0ms)

Net::SMTPAuthenticationError (534-5.7.14 <accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbt3 ):

app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:20:32 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cO3aFBkbwI2stLWCc5MINl0Vv2kn158IRupcm1RRlNY8rEkN6rPvYP1ZDIgvS3L+jHL2bJWPmORfwTePb+Isiw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 17.3ms Sent mail to andre_luisferreira@hotmail.com (6536.9ms) Date: Sun, 28 Oct 2018 22:20:32 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd660606eb0a_64231b6b628235e2@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd660606dc09_64231b6b628234e3";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd660606dc09_64231b6b628234e3 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd660606dc09_64231b6b628234e3 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd660606dc09_64231b6b628234e3–

Completed 500 Internal Server Error in 6561ms (ActiveRecord: 0.7ms)

Net::SMTPAuthenticationError (534-5.7.14 <accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbuv ):

app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:22:37 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cO3aFBkbwI2stLWCc5MINl0Vv2kn158IRupcm1RRlNY8rEkN6rPvYP1ZDIgvS3L+jHL2bJWPmORfwTePb+Isiw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 12.2ms Sent mail to andre_luisferreira@hotmail.com (1610.7ms) Date: Sun, 28 Oct 2018 22:22:37 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd660dd9b692_64231b6b76823717@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd660dd9acae_64231b6b76823660";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd660dd9acae_64231b6b76823660 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd660dd9acae_64231b6b76823660 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd660dd9acae_64231b6b76823660–

Completed 500 Internal Server Error in 1631ms (ActiveRecord: 0.4ms)

Net::SMTPAuthenticationError (534-5.7.14 <accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbvY ):

app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:26:06 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (14.5ms)

Completed 200 OK in 294ms (Views: 285.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:26:10 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"svrN0yavidmhKV2e6o4TQGVy/sZLlMLEzEvn/RCJy2/+u17K1QemNPDE5JS2VmmItBW3w/nMxSjVYIzpKzpzMg==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 340.0ms Sent mail to andre_luisferreira@hotmail.com (3153.1ms) Date: Sun, 28 Oct 2018 22:26:10 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd661b2b9879_71051115d1868937@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd661b2b79c3_71051115d1868824";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd661b2b79c3_71051115d1868824 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: 7bit

To reset your password click the link below:

This link will expire in two hours.

If you did not request your password to be reset, please ignore this email and your password will stay as it is.

—-==_mimepart_5bd661b2b79c3_71051115d1868824 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: 7bit

<!DOCTYPE html> <html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Password reset</h1>

<p>To reset your password click the link below:</p>

<p>This link will expire in two hours.</p>

<p> If you did not request your password to be reset, please ignore this email and your password will stay as it is. </p>

</body>

</html>

—-==_mimepart_5bd661b2b79c3_71051115d1868824–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 3540ms (ActiveRecord: 4.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:26:13 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.2ms)

Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:36:22 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.8ms)
Rendered users/sessions/new.html.erb within layouts/application (24.5ms)

Completed 200 OK in 79ms (Views: 75.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:36:24 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.4ms)

Completed 200 OK in 53ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:36:26 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1padMwfxBR0cbn8Tk2RHTxZlcLrsifqlo5STF1945Oja5gumXOAOlepqZCmhLMDtZ3pYUKqc0/hUglvElEtbYg==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 15.1ms Sent mail to andre_luisferreira@hotmail.com (14119.1ms) Date: Sun, 28 Oct 2018 22:36:26 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd6641ad50d0_71051115d186918d@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd6641ad41ba_71051115d1869082";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd6641ad41ba_71051115d1869082 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd6641ad41ba_71051115d1869082 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd6641ad41ba_71051115d1869082–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 14139ms (ActiveRecord: 0.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:36:41 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.0ms)

Completed 200 OK in 49ms (Views: 47.6ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:43:05 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.9ms)

Completed 200 OK in 341ms (Views: 332.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:43:07 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (24.6ms)
Rendered users/sessions/new.html.erb within layouts/application (39.5ms)

Completed 200 OK in 153ms (Views: 91.8ms | ActiveRecord: 5.2ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:43:08 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.9ms)

Completed 200 OK in 113ms (Views: 110.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:43:11 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+QwuqOiCwpadS+iReEZCn7W6edI8AGRPpoC6K1CPQ4L1fLg9s5PJHmtP86tKDsU9xKVROHoVTRJRlnL4m7z8CA==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (5.9ms)

UserMailer#password_reset: processed outbound mail in 14.8ms Completed 500 Internal Server Error in 37ms (ActiveRecord: 1.4ms)

ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“password_resets”, :email=>“andre_luisferreira@hotmail.com”}, missing required keys: [:id]):

2: 
3: <p>Para recadastrar uma senha clique no link abaixo:</p>
4: 
5: <%= link_to "Reset password", edit_password_reset_url(email: @user.email) %>
6: 
7: <p>Este link irá expirar em duas horas.</p>
8:

app/views/user_mailer/password_reset.html.erb:5:in `_app_views_user_mailer_password_reset_html_erb___1543688183284354850_70319332240760' app/mailers/user_mailer.rb:11:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:43:47 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 64ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:43:49 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8egXwsqDPlhvRlPwoKDol8UJPB5t9v0Ncg/Bb96Tw5a9qYTbOSsRtT6r6vr8eJJfFG51G9+u+uFrJKp75SB7yw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (3.3ms)

UserMailer#password_reset: processed outbound mail in 24.1ms Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.6ms)

ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options, or set :only_path to true):

2: 
3: <p>Para recadastrar uma senha clique no link abaixo:</p>
4: 
5: <%= link_to "Reset password", edit_password_reset_url(id: @user.email) %>
6: 
7: <p>Este link irá expirar em duas horas.</p>
8:

app/views/user_mailer/password_reset.html.erb:5:in `_app_views_user_mailer_password_reset_html_erb___1543688183284354850_70319220201720' app/mailers/user_mailer.rb:11:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:46:51 -0300

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8egXwsqDPlhvRlPwoKDol8UJPB5t9v0Ncg/Bb96Tw5a9qYTbOSsRtT6r6vr8eJJfFG51G9+u+uFrJKp75SB7yw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 246.7ms Sent mail to andre_luisferreira@hotmail.com (3813.9ms) Date: Sun, 28 Oct 2018 22:46:52 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd6668c4e782_797a1dd554494483@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd6668c4c8c1_797a1dd5544943e9";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd6668c4c8c1_797a1dd5544943e9 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

example.com/password_resets/andre_luisferreira@hotmail.com/edit

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd6668c4c8c1_797a1dd5544943e9 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“example.com/password_resets/andre_luisferreira@hotmail.= com/edit”>Reset password</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd6668c4c8c1_797a1dd5544943e9–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 4109ms (ActiveRecord: 4.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:46:56 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (7.1ms)

Completed 200 OK in 268ms (Views: 265.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-28 22:48:25 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (32.6ms)
Rendered users/sessions/new.html.erb within layouts/application (274.5ms)

Completed 200 OK in 437ms (Views: 399.6ms | ActiveRecord: 3.7ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-28 22:48:27 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.5ms)

Completed 200 OK in 92ms (Views: 88.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-28 22:48:30 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+TIeUE55axDnShx8oVsqOlZYKwYT7mDeqY7HpGhtNh31QojFFWhgmBFOB0aTE62YJ0cD7FX7SYNemA93o16Jlw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.9ms)

UserMailer#password_reset: processed outbound mail in 329.1ms Sent mail to andre_luisferreira@hotmail.com (3347.6ms) Date: Sun, 28 Oct 2018 22:48:30 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd666ee81afd_7ad425cb75899756@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd666ee80267_7ad425cb75899645";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd666ee80267_7ad425cb75899645 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/andre_luisferreira@hotmail.com/edit=

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd666ee80267_7ad425cb75899645 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/andre_luisferreira@hotma= il.com/edit”>Reset password</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd666ee80267_7ad425cb75899645–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 3706ms (ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2018-10-28 22:48:33 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.2ms)

Completed 200 OK in 49ms (Views: 47.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/andre_luisferreira@hotmail.com/edit” for 127.0.0.1 at 2018-10-28 22:48:40 -0300

ActionController::RoutingError (No route matches [GET] “/password_resets/andre_luisferreira@hotmail.com/edit”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/andre_luisferreira@hotmail.com/edit” for 127.0.0.1 at 2018-10-28 23:05:49 -0300

ActionController::RoutingError (No route matches [GET] “/password_resets/andre_luisferreira@hotmail.com/edit”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/andre_luisferreira@hotmail.com/edit” for 127.0.0.1 at 2018-10-29 09:03:59 -0300

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

ActionController::RoutingError (No route matches [GET] “/password_resets/andre_luisferreira@hotmail.com/edit”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/andre_luisferreira@hotmail.com/edit” for 127.0.0.1 at 2018-10-29 09:10:25 -0300

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

ActionController::RoutingError (No route matches [GET] “/password_resets/andre_luisferreira@hotmail.com/edit”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/login” for 127.0.0.1 at 2018-10-29 09:10:35 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (16.1ms)
Rendered users/sessions/new.html.erb within layouts/application (220.6ms)

Completed 200 OK in 333ms (Views: 288.7ms | ActiveRecord: 5.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 09:10:39 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (8.8ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 09:10:43 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mOXf3SqzaObogr6uivqVVuT/ZWuJme83Pco2XXRhsZmUlUlIcaJjbh6GpZS4shL0leBNgc+MxmrK3P6Ov1IOEw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.7ms)

UserMailer#password_reset: processed outbound mail in 11.4ms Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.8ms)

ActionView::Template::Error (No route matches {:action=>“edit”, :controller=>“password_resets”, :email=>“andre_luisferreira@hotmail.com”}, missing required keys: [:id]):

1: Para recadastrar uma senha clique no link abaixo:
2: 
3: <%= edit_password_reset_url(email: @user.email) %>
4: 
5: Este link irá expirar em duas horas.
6:

app/views/user_mailer/password_reset.text.erb:3:in `_app_views_user_mailer_password_reset_text_erb__720757418577211241_35018140' app/mailers/user_mailer.rb:10:in `password_reset' app/models/user.rb:26:in `send_password_reset_email' app/controllers/password_resets_controller.rb:10:in `create' Started GET “/login” for 127.0.0.1 at 2018-10-29 09:59:54 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.2ms)
Rendered users/sessions/new.html.erb within layouts/application (16.9ms)

Completed 200 OK in 97ms (Views: 94.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 10:20:26 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.0ms)
Rendered users/sessions/new.html.erb within layouts/application (11.5ms)

Completed 200 OK in 78ms (Views: 50.6ms | ActiveRecord: 4.5ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 10:20:29 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.6ms)

Completed 200 OK in 60ms (Views: 58.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 10:20:32 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lZoAsp3nPXGlQcgfUjGfT9UG0L+dFafm4bRSJWj9XcWZ6pYnxvY2+VNF0yVgeRjtpBn4VdsAjrsWopr2o87iTw==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "rw7uutihD8ioE1w65EOeow"], ["updated_at", "2018-10-29 13:20:32.107430"], ["id", 5]]
 (214.1ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 13:20:32.329681"], ["reset_sent_at", "2018-10-29 13:20:32.328274"], ["id", 5]]
 (196.3ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.1ms)

UserMailer#password_reset: processed outbound mail in 313.4ms Sent mail to andre_luisferreira@hotmail.com (5119.8ms) Date: Mon, 29 Oct 2018 10:20:32 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd70920d466d_29c214e44bc3668e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd70920d2ffa_29c214e44bc36596";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd70920d2ffa_29c214e44bc36596 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd70920d2ffa_29c214e44bc36596 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/rw7uutihD8ioE1w65EOeow/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Reset password</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd70920d2ffa_29c214e44bc36596–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 5889ms (ActiveRecord: 412.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 10:20:38 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.1ms)

Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 10:20:40 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.7ms)
Rendered users/sessions/new.html.erb within layouts/application (25.2ms)

Completed 200 OK in 80ms (Views: 78.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 10:21:08 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"rw7uutihD8ioE1w65EOeow"}
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.1ms)

Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (First argument in form cannot contain nil or be empty):

3: 
4: <div class="row">
5:   <div class="col-md-6 col-md-offset-3">
6:     <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
7:       <%= render 'shared/error_messages' %>
8: 
9:       <%= hidden_field_tag :email, @user.email %>

app/views/password_resets/edit.html.erb:6:in `_app_views_password_resets_edit_html_erb__1625384790269806216_70238572650400' Started GET “/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 10:24:24 -0300

SyntaxError (/home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/app/controllers/password_resets_controller.rb:41: syntax error, unexpected keyword_end, expecting end-of-input):

app/controllers/password_resets_controller.rb:41: syntax error, unexpected keyword_end, expecting end-of-input Started GET “/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 10:24:41 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"rw7uutihD8ioE1w65EOeow"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 64ms (ActiveRecord: 7.2ms)

NoMethodError (undefined method `activated?' for #<User:0x007fc36cfb04c8> Did you mean? activation_token):

app/controllers/password_resets_controller.rb:33:in `valid_user' Started GET “/login” for 127.0.0.1 at 2018-10-29 10:31:10 -0300

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (26.8ms)
Rendered users/sessions/new.html.erb within layouts/application (249.0ms)

Completed 200 OK in 414ms (Views: 374.0ms | ActiveRecord: 4.1ms)

Started GET “/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 10:31:14 -0300

SyntaxError (/home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/app/controllers/password_resets_controller.rb:39: syntax error, unexpected keyword_end, expecting end-of-input):

app/controllers/password_resets_controller.rb:39: syntax error, unexpected keyword_end, expecting end-of-input Started GET “/password_resets/rw7uutihD8ioE1w65EOeow/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 10:31:42 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"rw7uutihD8ioE1w65EOeow"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 72ms (ActiveRecord: 6.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 10:31:43 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.8ms)

Completed 200 OK in 71ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 10:31:46 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (15.8ms)

Completed 200 OK in 73ms (Views: 70.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:05:16 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 14:05:19 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eTzFZmjCjAf87Nxn3C9KhlDBNiHZqufc8BMfsbywGdd1TFPzM9OHjwrox13uZ80kId4ey5+/zoEHBddid4OmXQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "gAj-eg0cCiXMchurMdAOzg"], ["updated_at", "2018-10-29 17:05:19.204526"], ["id", 5]]
 (3790.9ms)  COMMIT
 (0.5ms)  BEGIN
SQL (1.1ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 17:05:23.001628"], ["reset_sent_at", "2018-10-29 17:05:22.999593"], ["id", 5]]
 (1228.9ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.2ms)

UserMailer#password_reset: processed outbound mail in 286.7ms Sent mail to andre_luisferreira@hotmail.com (3782.9ms) Date: Mon, 29 Oct 2018 14:05:24 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd73dd488835_72ce24f24f851ae@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd73dd486eaa_72ce24f24f8502";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd73dd486eaa_72ce24f24f8502 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/gAj-eg0cCiXMchurMdAOzg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd73dd486eaa_72ce24f24f8502 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/gAj-eg0cCiXMchurMdAOzg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Reset password</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd73dd486eaa_72ce24f24f8502–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 9139ms (ActiveRecord: 5022.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 14:05:28 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.9ms)

Completed 200 OK in 64ms (Views: 62.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 14:05:50 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (20.2ms)
Rendered users/sessions/new.html.erb within layouts/application (280.1ms)

Completed 200 OK in 445ms (Views: 407.0ms | ActiveRecord: 3.6ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:05:53 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.8ms)

Completed 200 OK in 80ms (Views: 77.6ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 14:05:55 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4MRkY+3pXLFF9ex6s/R+1VFKWjNpPNED/IL4TrE65pfstPL2tvhXObPx90CBvPl3IFVy2S8p+F4LlDCdeglZHQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "ZeiUj4zKyy-fgdn6NExsgQ"], ["updated_at", "2018-10-29 17:05:55.792682"], ["id", 5]]
 (172.3ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 17:05:55.970371"], ["reset_sent_at", "2018-10-29 17:05:55.968741"], ["id", 5]]
 (218.8ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.0ms)

UserMailer#password_reset: processed outbound mail in 334.5ms Sent mail to andre_luisferreira@hotmail.com (3374.8ms) Date: Mon, 29 Oct 2018 14:05:56 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd73df485b94_7b3a1ee7cac348c2@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd73df484545_7b3a1ee7cac34734";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd73df484545_7b3a1ee7cac34734 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/ZeiUj4zKyy-fgdn6NExsgQ/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd73df484545_7b3a1ee7cac34734 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/ZeiUj4zKyy-fgdn6NExsgQ/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Reset password</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd73df484545_7b3a1ee7cac34734–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 4141ms (ActiveRecord: 393.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 14:05:59 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.0ms)

Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/ZeiUj4zKyy-fgdn6NExsgQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:06:51 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"ZeiUj4zKyy-fgdn6NExsgQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 14:06:51 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.4ms)

Completed 200 OK in 51ms (Views: 49.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 14:14:59 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (26.6ms)
Rendered users/sessions/new.html.erb within layouts/application (264.4ms)

Completed 200 OK in 424ms (Views: 387.4ms | ActiveRecord: 3.5ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:15:03 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.8ms)

Completed 200 OK in 110ms (Views: 106.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:15:58 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.4ms)

Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (The asset “password_reset-form.css” is not present in the asset pipeline.):

1: <%= content_for :css do %>
2:   <%= stylesheet_link_tag 'password_reset-form' %>
3:   <%= stylesheet_link_tag 'form-utils' %>
4: <% end %>
5:

app/views/password_resets/new.html.erb:2:in `block in _app_views_password_resets_new_html_erb__1026684663955619741_69811909829140' app/views/password_resets/new.html.erb:1:in `_app_views_password_resets_new_html_erb__1026684663955619741_69811909829140' Started GET “/login” for 127.0.0.1 at 2018-10-29 14:16:09 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (17.4ms)

Completed 200 OK in 76ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:16:11 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.1ms)

Completed 200 OK in 54ms (Views: 52.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 14:16:13 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"psmZgdeTpgCtKoKz6tHpSx2RWMA0dFKGZ41OWxdIdMKquQ8UjIKtiFsumYnYmW7pbI5wKnJhe9uQm4aI3HvLSA==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "j_bGMljhU1nnoJrRN-0bGg"], ["updated_at", "2018-10-29 17:16:13.047483"], ["id", 5]]
 (441.5ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 17:16:13.495451"], ["reset_sent_at", "2018-10-29 17:16:13.493727"], ["id", 5]]
 (194.3ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.1ms)

UserMailer#password_reset: processed outbound mail in 284.8ms Sent mail to andre_luisferreira@hotmail.com (8614.1ms) Date: Mon, 29 Oct 2018 14:16:14 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd7405e5ad_7da92644e3c9550@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd7405df31a1_7da92644e3c954f3";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd7405df31a1_7da92644e3c954f3 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd7405df31a1_7da92644e3c954f3 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/j_bGMljhU1nnoJrRN-0bGg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd7405df31a1_7da92644e3c954f3–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 9578ms (ActiveRecord: 639.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 14:16:22 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.7ms)

Completed 200 OK in 72ms (Views: 66.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:16:40 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.4ms)

NoMethodError (undefined method `activated?' for #<User:0x007efcb44b8d88>):

app/controllers/password_resets_controller.rb:33:in `valid_user' Started GET “/login” for 127.0.0.1 at 2018-10-29 14:20:59 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (18.5ms)
Rendered users/sessions/new.html.erb within layouts/application (213.4ms)

Completed 200 OK in 370ms (Views: 331.6ms | ActiveRecord: 5.5ms)

Started GET “/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:21:04 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (14.8ms)

Completed 500 Internal Server Error in 34ms (ActiveRecord: 1.0ms)

ActionView::Template::Error (Missing partial shared/_error_messages with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/app/views"
"/var/lib/gems/2.3.0/gems/devise-4.4.3/app/views"

):

 4: <div class="row">
 5:   <div class="col-md-6 col-md-offset-3">
 6:     <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
 7:       <%= render 'shared/error_messages' %>
 8: 
 9:       <%= hidden_field_tag :email, @user.email %>
10:

app/views/password_resets/edit.html.erb:7:in `block in _app_views_password_resets_edit_html_erb___4463354073551874604_70296480196100' app/views/password_resets/edit.html.erb:6:in `_app_views_password_resets_edit_html_erb___4463354073551874604_70296480196100' Started GET “/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:24:36 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.5ms)

Completed 500 Internal Server Error in 59ms (ActiveRecord: 5.9ms)

ActionView::Template::Error (Missing partial shared/_error_messages with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/app/views"
"/var/lib/gems/2.3.0/gems/devise-4.4.3/app/views"

):

 4: <div class="row">
 5:   <div class="col-md-6 col-md-offset-3">
 6:     <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
 7:       <%= render '/shared/error_messages' %>
 8: 
 9:       <%= hidden_field_tag :email, @user.email %>
10:

app/views/password_resets/edit.html.erb:7:in `block in _app_views_password_resets_edit_html_erb___2250632362670462489_33567360' app/views/password_resets/edit.html.erb:6:in `_app_views_password_resets_edit_html_erb___2250632362670462489_33567360' Started GET “/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:24:56 -0300

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (19.0ms)

Completed 200 OK in 443ms (Views: 394.1ms | ActiveRecord: 7.5ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:25:13 -0300

AbstractController::ActionNotFound (The action 'update' could not be found for PasswordResetsController):

actionpack (5.1.6) lib/abstract_controller/base.rb:119:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:25:24 -0300

AbstractController::ActionNotFound (The action 'update' could not be found for PasswordResetsController):

actionpack (5.1.6) lib/abstract_controller/base.rb:119:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/j_bGMljhU1nnoJrRN-0bGg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:35:44 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.2ms)

Completed 200 OK in 158ms (Views: 64.2ms | ActiveRecord: 10.0ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:35:51 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YL+/tyxuVoojDJh3HmKbx10YYLaU06+EQNQSPJuFQc6Cxj9WA0O1i2L+987T1uHF3BA8SAW6wUY6T4pzTsCwgw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 265ms (Views: 54.6ms | ActiveRecord: 1.0ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:01 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tALZJdKU/wMnvs7X/FlBS4KG6EIDYwvjyL/7ltHPmQxWe1nE/bkcAmZMoW4x7TtJA460vJIKZSGyJGPZBIpoQQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (4.0ms)

Completed 200 OK in 87ms (Views: 78.9ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:03 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6ncQB+JXDaEXCg7nnIfxwz4z/P9mpCj/MNmMt/LHv4IIDpDmzXruoFb4YV5RM4vBvzugAffNRj1KQhT4J4JOzw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.7ms)

Completed 200 OK in 74ms (Views: 68.7ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:04 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xJn/2qjMjBebzh6ixEMjLrxHW5LETO2lv3Y+Ds79X+4m4H87h+FvFto8cRsJ91ksPU8HbFUlg2fF7aZBG7iuow==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.4ms)

Completed 200 OK in 58ms (Views: 53.9ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:04 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PvDU+XjP2nyLdOyCMUZgfF+qHqdSRNr5M589wtMZwMnciVQYV+I5fcqGgzv88hp+3qJCWcMttDtJBKWNBlwxhA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (16.5ms)

Completed 200 OK in 85ms (Views: 80.4ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:09 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rPZwZZGH55diSHImlgD7pZoT/siwbebSVNxhZ+qdUfVOj/CEvqoEliO6HZ9btIGnGxuiNiEEiBAuR/koP9iguA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.0ms)

Completed 200 OK in 224ms (Views: 42.8ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:14 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XzjX4rhbyogN+pCynsLV53o2hPryCintY0DTsYng8je9QVcDl3YpiUwI/wtTdq/l+z7YBGNjRy8Z20v+XKUDeg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 307ms (Views: 49.7ms | ActiveRecord: 1.4ms)

Started PATCH “/password_resets/j_bGMljhU1nnoJrRN-0bGg” for 127.0.0.1 at 2018-10-29 14:36:38 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KibDUz5jJQGq45BdSIjXYHqVPowVFcN578JWKQNrbsbIX0OyEU7GAOsR/+SFPK1i+51icoR8rbuVWc5m1i6fiw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"j_bGMljhU1nnoJrRN-0bGg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.5ms)

Completed 200 OK in 66ms (Views: 61.3ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:37:41 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.7ms)

Completed 200 OK in 361ms (Views: 352.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 14:37:42 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5uuxPH7cQz6KXDwvuVsBdIHPN59r6fsfmwMOcMwLDEPqmyepJc1ItnxYJxWLE4bW8NAfdS380kJsFcajBzizyQ==", "password_reset"=>"[FILTERED]", "commit"=>"Submit"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "lWtyjOZDpFjTpb4Q4o43DA"], ["updated_at", "2018-10-29 17:37:43.013066"], ["id", 5]]
 (138.0ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 17:37:43.157051"], ["reset_sent_at", "2018-10-29 17:37:43.155134"], ["id", 5]]
 (194.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.8ms)

UserMailer#password_reset: processed outbound mail in 355.4ms Sent mail to andre_luisferreira@hotmail.com (3319.3ms) Date: Mon, 29 Oct 2018 14:37:43 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd74567b423a_2f122e8fb811c1@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd74567b2934_2f122e8fb8107b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd74567b2934_2f122e8fb8107b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd74567b2934_2f122e8fb8107b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/lWtyjOZDpFjTpb4Q4o43DA/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd74567b2934_2f122e8fb8107b–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 4111ms (ActiveRecord: 340.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 14:37:47 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 51ms (Views: 48.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:37:52 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (9.1ms)

Completed 200 OK in 68ms (Views: 61.8ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:37:55 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1Co2OxDbOeBJan4cvGHYM18D6Vvz83FdkXeB7wIQicA2U7baP/ba4QiYEaVx1aIx3gu1pWKaH5/r7Bmg11V4jQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.9ms)

Completed 200 OK in 66ms (Views: 60.6ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:37:57 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RHGuGRSBoGQMBEQ1J2Az3iqlJ5iYxeSDzhmahmqG5y+mCC74O6xDZU32K4zq1Encq617ZgmsikG0ggLJv8MWYg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.8ms)

Completed 200 OK in 58ms (Views: 54.2ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:37:57 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wnl2mgxU0l/+Yoxl8/W7QfdYhPnFEWMfTiOqvqexaTEgAPZ7I3kxXr+Q49w+QcFDdlDYB1R4Dd00uDLxcvSYfA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.2ms)

Completed 200 OK in 62ms (Views: 58.1ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:37:58 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aFO6AS2f9h63R1JVtQ+BPCcdMeMPqYmfdKyjPKQj4AiKKjrgArIVH/a1Pex4u/s+phVtHZ7A510ONztzcWYRRQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.0ms)

Completed 200 OK in 56ms (Views: 52.1ms | ActiveRecord: 0.5ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 14:38:00 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (7.5ms)
Rendered users/sessions/new.html.erb within layouts/application (20.7ms)

Completed 200 OK in 85ms (Views: 82.6ms | ActiveRecord: 0.0ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:38:04 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LsJCokHgR2XGQtw5eYMdQqr93HQpNIZn/SalKbuXgHbMu8JDbs2kZIews4C0N2dAK/WAirhd6KWHvT1mbtJxOw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.1ms)

Completed 200 OK in 54ms (Views: 50.5ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:38:11 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DR857l0XJxPmxeWJm3Mz+oBFaWumyyYNiWVYrruSOf/vZrkPcjrEEqc3ijBWx0n4AU01lTeiSM/z/sDhbtfIsg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.1ms)

Completed 200 OK in 265ms (Views: 46.7ms | ActiveRecord: 2.6ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:38:21 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qwRBB1/0ZkkzMYnwkyaTG6yN/CCT5GN3dqkGxQs/mAFJfcHmcNmFSHLD5klekukZLYWg3gKNDbUMMp6K3nppTA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.2ms)

Completed 200 OK in 228ms (Views: 48.9ms | ActiveRecord: 0.8ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 14:40:45 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"myf9ab3YCkTbdRGQz8uNBYVRgv/QdfE+P8zXeTW79ZMHdJgHKzgyl3fYFjsxahUtlph0msR6jA5jZBfVb8Ndzw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 247ms (ActiveRecord: 6.2ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"myf9ab3YCkTbdRGQz8uNBYVRgv/QdfE+P8zXeTW79ZMHdJgHKzgyl3fYFjsxahUtlph0msR6jA5jZBfVb8Ndzw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (11.4ms)
Rendered users/sessions/new.html.erb within layouts/application (219.0ms)

Completed 200 OK in 452ms (Views: 286.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 14:40:54 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.8ms)

Completed 200 OK in 63ms (Views: 50.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:40:56 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (4.5ms)

Completed 200 OK in 117ms (Views: 97.3ms | ActiveRecord: 1.2ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:41:00 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u4aHZdlMZb49WeIl6mtKIOEYdavApG6jTkpcggkkkJ1Z/weE9mGGv3yrjZwn3zAiYBApVVHNAGE00cTN3GFh0A==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.9ms)

Completed 200 OK in 93ms (Views: 89.5ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:41:53 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nuQ1pGEaHfWX7+NQQKR6LJLn9RUOUieEGdYUzALVCit8nbVFTjf+9NYdjOmNEAAuE++p6587SUZjTYyD15D7Zg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.2ms)

Completed 200 OK in 288ms (Views: 78.5ms | ActiveRecord: 5.2ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 14:42:31 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eKZfNaRP3ddPGWqkx8hwLlsAj0VPj5osQlZX2Qs7SdY058wsV+fyOh70066bEArmimfGQP3XncBbfTzNMIjxiw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 173ms (ActiveRecord: 1.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eKZfNaRP3ddPGWqkx8hwLlsAj0VPj5osQlZX2Qs7SdY058wsV+fyOh70066bEArmimfGQP3XncBbfTzNMIjxiw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.3ms)
Rendered users/sessions/new.html.erb within layouts/application (16.4ms)

Completed 200 OK in 261ms (Views: 92.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 14:42:33 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"s6Nwu9zjge4qzt+4T8+Q5ldZXQY3jrK3uUJyOpnPMvf/4uOiL0uuA3sjZrITF+ouhj4UA4XWtVugaRkuonyKqg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 172ms (ActiveRecord: 1.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"s6Nwu9zjge4qzt+4T8+Q5ldZXQY3jrK3uUJyOpnPMvf/4uOiL0uuA3sjZrITF+ouhj4UA4XWtVugaRkuonyKqg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (10.8ms)
Rendered users/sessions/new.html.erb within layouts/application (71.6ms)

Completed 200 OK in 290ms (Views: 124.0ms | ActiveRecord: 0.0ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:43:21 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CxW6Uc5Zv3eGGGVm7789pSX7f8LlalvIpaxiTz+i9UbpbDqw4XRcdsfqCt8iC0enpPMjPHQDNQrfN/oA6ucECw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (16.0ms)

Completed 200 OK in 319ms (Views: 278.2ms | ActiveRecord: 4.7ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:43:26 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lk88g88uUQ82iquWEGHr5YYGGK+D+wshN622rXZyXB10Nrxi4AOyDnd4xC/d1ZHnBw5EURKSZeNNNi7iozetUA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.2ms)

Completed 200 OK in 266ms (Views: 47.4ms | ActiveRecord: 1.2ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:43:30 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fjieZeqn4i+ldIv3OBsxfXW3Sx7U+pO105diY0olWvmcQR6ExYoBLuSG5E71r0t/9L8X4EWT/XepDPosn2CrtA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.4ms)

Completed 200 OK in 251ms (Views: 44.1ms | ActiveRecord: 1.2ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:44:07 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rH2j25DCLWJQYTfXfVZouJ2TcKweROsx7r/sjDuSQwdOBCM6v+/OYxGTWG6w4hK6HJssUo8thfOUJHTD7teySg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (8.4ms)

Completed 200 OK in 101ms (Views: 97.0ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:44:13 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"el1+h/Zr72bWWzlPV7JLKlFmbX0ptetoA7DwSww8a7aYJP5m2UYMZ5epVvaaBjEo0G4xg7jchap5K2gE2Xma+w==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.4ms)

Completed 200 OK in 247ms (Views: 49.6ms | ActiveRecord: 1.3ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:48:58 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LGcTI3F0CT9g7dmIS9ReizlRAGaQm2/v4L1rdQ02VA3OHpPCXlnqPiEftjGGYCSJuFlcmAHyAS2aJvM62HOlQA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (9.1ms)

Completed 200 OK in 655ms (Views: 261.0ms | ActiveRecord: 7.2ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 14:53:21 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (16.6ms)

Completed 200 OK in 363ms (Views: 317.8ms | ActiveRecord: 5.6ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:53:25 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hSVbuoRTaBKXUA3l7932ugJkXNcDGfMHwMqromwB8gZnXNtbq36LE9aiYlwiaYy4g2wAKZJwncW6UTPtuUQDSw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.6ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.5ms)

Completed 200 OK in 230ms (Views: 47.5ms | ActiveRecord: 1.2ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 14:53:27 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NBDmv7E++RNdteDeQtS11y1mF80e4MooHBuT3igi4sXWaWZenhMaEhxHj2ePYM/VrG5LM4+JpOpmgAuR/WcTiA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.1ms)

Completed 200 OK in 226ms (Views: 48.8ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:05:59 -0300

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"92MciFQDucdlvSrDslsNx5T+jHRZO1CGganO/5UZ6UEVGpxpey5axiRPRXp/73fFFfbQishSPkT7MlawQFwYDA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (14.0ms)

Completed 200 OK in 539ms (Views: 311.9ms | ActiveRecord: 6.3ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:06:20 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4GrLtwstAlpyAZ96JA1uwpMIKIVNJg1UYadTBWccAbMCE0tWJADhWzPz8MPpuRTAEgB0e9xPY5YbPMtKslnw/g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.9ms)

Completed 200 OK in 260ms (Views: 57.4ms | ActiveRecord: 4.5ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:16:10 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cvRpOwObVthgvid7Dt+00Nb/53Vd4Jr4deYm+F/quEmQjenaLLa12SFMSMLDa87SV/e7i8yJ9DoPfb63iq9JBA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.4ms)  ROLLBACK

Completed 400 Bad Request in 206ms (ActiveRecord: 4.7ms)

ActionController::ParameterMissing (param is missing or the value is empty: password):

app/controllers/password_resets_controller.rb:35:in `update' Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:16:20 -0300

ActionController::RoutingError (No route matches [GET] “/password_resets/lWtyjOZDpFjTpb4Q4o43DA”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 15:16:25 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.7ms)

Completed 200 OK in 107ms (Views: 53.9ms | ActiveRecord: 5.4ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:16:27 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RMMtNSljyschtJfynfoVAwArJnHgZNKxIF0F9NwEOEOmuq3UBk4pxmBG+EtQTm8BgSN6j3ENvHNaxp27CUHJDg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.1ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.4ms)

Completed 200 OK in 255ms (Views: 40.8ms | ActiveRecord: 2.1ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:17:15 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XEF5c9OgPnwo+d9UEtAoN9CFzOhqh0oQwaTvw0fH5b++OPmS/I3dfWkLsO3fZFI1UY2QFvvuJNK7P3eMkoIU8g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
 (0.3ms)  ROLLBACK

Completed 500 Internal Server Error in 299ms (ActiveRecord: 6.2ms)

NoMethodError (undefined method `a' for #<PasswordResetsController:0x007f2fc0641350>):

app/controllers/password_resets_controller.rb:36:in `update' Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 15:17:42 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.4ms)

Completed 200 OK in 92ms (Views: 54.6ms | ActiveRecord: 5.5ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:17:45 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ojfxwv4ltRju157KqCZPXhVPKGnVaqGdACWVmk9GJknYTnEj0QhWGa8l8XNlkjVclEd0l0QDz196vg3VmgPXBA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (4.0ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.0ms)

Completed 200 OK in 256ms (Views: 77.5ms | ActiveRecord: 4.6ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:18:21 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XqBlIgwNYUpHuyD//h/R9utezQh1S9+/BscoRYw7+SC82eXDIyCCSwZJT0Yzq6v0alaR9uQisX18XLAKWX4IbQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.6ms)

Completed 200 OK in 263ms (Views: 54.1ms | ActiveRecord: 7.4ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:18:29 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zKP4F8aDb2n63xwSPv5VI/+xQIe60gqixi/qCeyyhAcu2nj26a6MaLstc6vzSi8hfrkceSu7ZGC8tHJGOfd1Sg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$ljurFHO1ePkLQvKHsyg8nO6cIoqMMycfTPY3LCf11bwIxRmkAFEk."], ["updated_at", "2018-10-29 18:18:29.666847"], ["id", 5]]
 (65.6ms)  COMMIT

Completed 500 Internal Server Error in 369ms (ActiveRecord: 67.0ms)

NoMethodError (undefined method `log_in' for #<PasswordResetsController:0x007f2fc0beb530>):

app/controllers/password_resets_controller.rb:31:in `update' Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 15:19:06 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.4ms)

Completed 200 OK in 103ms (Views: 94.5ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:19:14 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MqOp5uBhnU5I2tm/905BEFCiAbO1ea17DGfZ0MfWYYrQ2ikHz0x+TwkotgY6+jsS0apdTSQQw7l2/EGfEpOQxw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (1.1ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$3jbx1cz01zlYrCBwQXl6zOIVWfJWiqBId5E1T/oFS.JN2Hjs08YfS"], ["updated_at", "2018-10-29 18:19:15.118795"], ["id", 5]]
 (61.5ms)  COMMIT

Completed 500 Internal Server Error in 391ms (ActiveRecord: 65.8ms)

NoMethodError (undefined method `log_in' for #<PasswordResetsController:0x007f2fba712938>):

app/controllers/password_resets_controller.rb:31:in `update' Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:26:33 -0300

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MqOp5uBhnU5I2tm/905BEFCiAbO1ea17DGfZ0MfWYYrQ2ikHz0x+TwkotgY6+jsS0apdTSQQw7l2/EGfEpOQxw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$t4RJMEvgWesb534TIMzRyu24u2AaPjLnafl7DuVq.9d6VTcn16keq"], ["updated_at", "2018-10-29 18:26:33.386380"], ["id", 5]]
 (65.9ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 285ms (ActiveRecord: 73.1ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 15:26:33 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.0ms)

Completed 200 OK in 298ms (Views: 296.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:26:35 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (27.1ms)
Rendered users/sessions/new.html.erb within layouts/application (40.8ms)

Completed 200 OK in 90ms (Views: 85.9ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 15:26:48 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qbsFwd+Jf6BZgkxt2+AMyK0r/q4uulH8YHEdggINlFBXieOtFHXb4LWqdgfofhk12UmMX/tObdrCeths6Qu7YA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-10-29 18:26:48.360182"], ["sign_in_count", 2], ["updated_at", "2018-10-29 18:26:48.361729"], ["id", 5]]
 (864.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 1344ms (ActiveRecord: 866.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 15:26:49 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (4.0ms)

Completed 200 OK in 60ms (Views: 57.4ms | ActiveRecord: 0.5ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-29 15:26:52 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"rSkhu72FPUUjFLLZ+E5UpAsZlgDLZo2hSpPMcZ1RcaGWB1Ul/VAYVr1PLactAE+qguNosC1oDamcncJ3Nu3owA=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.1ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 44ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 15:26:52 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.1ms)

Completed 200 OK in 58ms (Views: 56.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:26:53 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.8ms)
Rendered users/sessions/new.html.erb within layouts/application (18.2ms)

Completed 200 OK in 97ms (Views: 94.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 15:28:09 -0300

 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (21.3ms)

Completed 200 OK in 405ms (Views: 356.7ms | ActiveRecord: 5.5ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:28:20 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TAaOgefNKA2ZKc3Fj4ue/PAt/MPjc5gikiUb6zyzhqrTT27upi+T/DZmzwpk6N+Y0RN0m8YqezQhnOU58O5qBg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$t1rOPzl6DzgEK2vU9bpIMOVdMLv7WqIP0AAdVbpbVDCAwdckJHhJi"], ["updated_at", "2018-10-29 18:28:20.857653"], ["id", 5]]
 (67.4ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 278ms (ActiveRecord: 68.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 15:28:20 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.0ms)

Completed 200 OK in 79ms (Views: 77.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:28:34 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (13.1ms)
Rendered users/sessions/new.html.erb within layouts/application (30.8ms)

Completed 200 OK in 107ms (Views: 98.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 15:29:09 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (6.0ms)

Completed 200 OK in 152ms (Views: 100.6ms | ActiveRecord: 5.1ms)

Started PATCH “/password_resets/lWtyjOZDpFjTpb4Q4o43DA” for 127.0.0.1 at 2018-10-29 15:29:15 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hGLypWgW35DClxPMTmolNGSphm9Wykpxp1YM1pgHt0MbKxLKKfRkYW3YEQOlCWRQRZcON3OTqWcU7/IEVFpb7w==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.6ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$RXc4z1Uuan6HqxoH4ArlNO82WF4DpGdTj69G.d8zIV3AbX6uPNQ1e"], ["updated_at", "2018-10-29 18:29:15.728707"], ["id", 5]]
 (67.0ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 283ms (ActiveRecord: 69.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:29:15 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (10.4ms)

Completed 200 OK in 56ms (Views: 54.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:54:02 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.2ms)

Completed 200 OK in 358ms (Views: 350.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:54:26 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (9.7ms)
Rendered users/sessions/new.html.erb within layouts/application (31.6ms)

Completed 200 OK in 162ms (Views: 105.8ms | ActiveRecord: 4.4ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:54:28 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (7.6ms)

Completed 200 OK in 99ms (Views: 97.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:54:48 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.2ms)

Completed 200 OK in 103ms (Views: 100.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 15:54:49 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.7ms)
Rendered users/sessions/new.html.erb within layouts/application (14.7ms)

Completed 200 OK in 87ms (Views: 79.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:54:54 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.8ms)

Completed 200 OK in 58ms (Views: 55.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:55:15 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (16.5ms)

Completed 200 OK in 72ms (Views: 69.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:55:28 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.0ms)

Completed 200 OK in 77ms (Views: 75.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 15:55:39 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.1ms)

Completed 200 OK in 80ms (Views: 77.7ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 15:56:28 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+c5TwghXAqrpiirqOeKpwH0g8Z4xbaDSFYg3fLHWKd5lnTasnrc6eUUnLUHHQzHobukH+yVi3eJJIPfQ666Bgg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+c5TwghXAqrpiirqOeKpwH0g8Z4xbaDSFYg3fLHWKd5lnTasnrc6eUUnLUHHQzHobukH+yVi3eJJIPfQ666Bgg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.4ms)
Rendered users/sessions/new.html.erb within layouts/application (12.4ms)

Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:00:05 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.9ms)

Completed 200 OK in 62ms (Views: 60.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:00:07 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1eaRpK3f2qa3PzOsOxjPEhHzoV6Ds4DNwoGKMEAMadZJtfTKOz/idRuSNAfFuVc6AjpXO5e8/f2eKUqcGnTBig==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"1eaRpK3f2qa3PzOsOxjPEhHzoV6Ds4DNwoGKMEAMadZJtfTKOz/idRuSNAfFuVc6AjpXO5e8/f2eKUqcGnTBig==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.3ms)
Rendered users/sessions/new.html.erb within layouts/application (11.9ms)

Completed 200 OK in 64ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:00:24 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (38.3ms)

Completed 200 OK in 383ms (Views: 369.0ms | ActiveRecord: 4.7ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:00:26 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fHaW1f1FnX4CGJe53BahMgDlL7oCW5ICo8HJMMcZ+DXgJfO7a6Wlra61kBIitzkaEyzZ3xZU7zL/aQmcnWFQaQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fHaW1f1FnX4CGJe53BahMgDlL7oCW5ICo8HJMMcZ+DXgJfO7a6Wlra61kBIitzkaEyzZ3xZU7zL/aQmcnWFQaQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (11.6ms)
Rendered users/sessions/new.html.erb within layouts/application (29.1ms)

Completed 200 OK in 104ms (Views: 101.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:08:19 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (7.1ms)

Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `model_name' for {:class=>“login100-form validate-form”, :name=>“pass”}:Hash):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(class: 'login100-form validate-form', name: 'pass' ) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb__4124047642334889104_41771640' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:08:42 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (49.2ms)

Completed 200 OK in 379ms (Views: 367.1ms | ActiveRecord: 4.6ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 16:08:44 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (21.7ms)
Rendered users/sessions/new.html.erb within layouts/application (35.3ms)

Completed 200 OK in 104ms (Views: 101.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:08:46 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.8ms)

Completed 200 OK in 83ms (Views: 80.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:08:48 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"StZRq1sAtM0oeerr2L7nv8iNyf3j4/XE4NBncC7zYQ3WhTTFzeCMHoTU7UAmH3+X20Q/mPfsiPS8eKfcdIvJUQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"StZRq1sAtM0oeerr2L7nv8iNyf3j4/XE4NBncC7zYQ3WhTTFzeCMHoTU7UAmH3+X20Q/mPfsiPS8eKfcdIvJUQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.7ms)
Rendered users/sessions/new.html.erb within layouts/application (11.1ms)

Completed 200 OK in 93ms (Views: 91.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:09:01 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (34.9ms)

Completed 200 OK in 390ms (Views: 378.0ms | ActiveRecord: 3.5ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:09:04 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fbCj+1YgzxwfE3OmwmH9p/zZDY/7Zj6HQOs41JdDwp7h48aVwMD3z7O+dA08wGWP7xD76u9pQ7ccQ/h4zTtqwg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fbCj+1YgzxwfE3OmwmH9p/zZDY/7Zj6HQOs41JdDwp7h48aVwMD3z7O+dA08wGWP7xD76u9pQ7ccQ/h4zTtqwg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (10.4ms)
Rendered users/sessions/new.html.erb within layouts/application (28.6ms)

Completed 200 OK in 104ms (Views: 101.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:09:06 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.0ms)

Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:09:10 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dRxC+lWRIUBloLA0t8TDpj7XIDUuySH52B82/OWUGLDpTyeUw3EZk8kNt59JZVuOLR7WUDrGXMmEt/ZQv+yw7A==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dRxC+lWRIUBloLA0t8TDpj7XIDUuySH52B82/OWUGLDpTyeUw3EZk8kNt59JZVuOLR7WUDrGXMmEt/ZQv+yw7A==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.0ms)
Rendered users/sessions/new.html.erb within layouts/application (20.4ms)

Completed 200 OK in 100ms (Views: 96.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:14:50 -0300

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (20.4ms)

Completed 200 OK in 365ms (Views: 317.5ms | ActiveRecord: 5.8ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:15:19 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.8ms)

Completed 200 OK in 152ms (Views: 142.5ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:15:54 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (15.6ms)

Completed 200 OK in 123ms (Views: 112.8ms | ActiveRecord: 1.2ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:16:09 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (20.5ms)

Completed 200 OK in 427ms (Views: 379.5ms | ActiveRecord: 6.1ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:16:16 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.3ms)

Completed 200 OK in 122ms (Views: 117.6ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:16:21 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TXQA5DbNCNE4IJQnDRjAeKtgJTW58CUOz0UspDXVw6mtcO067sBCfNZ6Lq6YBjtUncGGGMofG9I+nNnuldLglQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TXQA5DbNCNE4IJQnDRjAeKtgJTW58CUOz0UspDXVw6mtcO067sBCfNZ6Lq6YBjtUncGGGMofG9I+nNnuldLglQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.4ms)
Rendered users/sessions/new.html.erb within layouts/application (21.1ms)

Completed 200 OK in 101ms (Views: 98.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:16:27 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.7ms)

Completed 200 OK in 105ms (Views: 103.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:18:22 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"scm6j+L/u2Nm0HJ5THbQqrhvoB8Alvk2YFyjd/KrdfVRzVdROvLxzoiKyPDZaCuGjs4DMnN5x+qRhVY9UqxWyQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 4ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"scm6j+L/u2Nm0HJ5THbQqrhvoB8Alvk2YFyjd/KrdfVRzVdROvLxzoiKyPDZaCuGjs4DMnN5x+qRhVY9UqxWyQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.0ms)
Rendered users/sessions/new.html.erb within layouts/application (18.8ms)

Completed 200 OK in 91ms (Views: 88.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:19:18 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (35.3ms)

Completed 200 OK in 363ms (Views: 349.6ms | ActiveRecord: 4.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:19:22 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rpKAzLDGjuRkURzpTqQx35G9ezhZ6HX24oWk2iKoJOROlm0SaMvESYoLpmDbusrzpxzYFSoHSyoTXFGQgq8H2A==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rpKAzLDGjuRkURzpTqQx35G9ezhZ6HX24oWk2iKoJOROlm0SaMvESYoLpmDbusrzpxzYFSoHSyoTXFGQgq8H2A==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (10.5ms)
Rendered users/sessions/new.html.erb within layouts/application (31.1ms)

Completed 200 OK in 110ms (Views: 106.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:19:42 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (36.0ms)

Completed 200 OK in 380ms (Views: 366.9ms | ActiveRecord: 3.8ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:19:46 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nacT6TEy493F4vgM8OrIPW9W/iPN4+J9iUzc9H4Zk/p9o/436T+pcCu4QoVl9DMRWfddDr4M3KF4lSm+3h6wxg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nacT6TEy493F4vgM8OrIPW9W/iPN4+J9iUzc9H4Zk/p9o/436T+pcCu4QoVl9DMRWfddDr4M3KF4lSm+3h6wxg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (9.5ms)
Rendered users/sessions/new.html.erb within layouts/application (31.4ms)

Completed 200 OK in 108ms (Views: 104.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:20:05 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (36.8ms)

Completed 200 OK in 413ms (Views: 400.9ms | ActiveRecord: 4.2ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:20:08 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F4Y7gWcQkm3D4xDWB6QP6RxTurJ8l8Umg9r15xWvpZT3gtZfvx3YwC25ql+SuvTFKvIZnw94+/pyAwCttaiGqA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 3ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"F4Y7gWcQkm3D4xDWB6QP6RxTurJ8l8Umg9r15xWvpZT3gtZfvx3YwC25ql+SuvTFKvIZnw94+/pyAwCttaiGqA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (12.3ms)
Rendered users/sessions/new.html.erb within layouts/application (30.0ms)

Completed 200 OK in 110ms (Views: 106.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:20:12 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 63ms (Views: 61.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 16:20:13 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.2ms)
Rendered users/sessions/new.html.erb within layouts/application (16.8ms)

Completed 200 OK in 102ms (Views: 100.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:20:14 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.0ms)

Completed 200 OK in 102ms (Views: 100.2ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:20:15 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G1PLJrKhMRwHcOMVKlHJ2qNaHyryFxAeT3qtjSACkGb7Vyb4aqx7sekqWZy/TzL2lfu8B4H4LsK+o1jHgAWzWg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G1PLJrKhMRwHcOMVKlHJ2qNaHyryFxAeT3qtjSACkGb7Vyb4aqx7sekqWZy/TzL2lfu8B4H4LsK+o1jHgAWzWg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (14.5ms)

Completed 200 OK in 73ms (Views: 70.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:20:33 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (34.4ms)

Completed 200 OK in 335ms (Views: 322.0ms | ActiveRecord: 3.6ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 16:20:36 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FXs6AL4o8gD8psLwesthtHwamzMkml/NSXeYt+UKjyb1f9feZiW4rRL8eHnv1ZqYSrs4Hld1YRG4rm39RQ2sGg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FXs6AL4o8gD8psLwesthtHwamzMkml/NSXeYt+UKjyb1f9feZiW4rRL8eHnv1ZqYSrs4Hld1YRG4rm39RQ2sGg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com"}, "commit"=>"Enviar"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (7.3ms)
Rendered users/sessions/new.html.erb within layouts/application (21.0ms)

Completed 200 OK in 81ms (Views: 78.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:22:24 -0300

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (303.1ms)

Completed 500 Internal Server Error in 316ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `users_path' for #<#<Class:0x00000004152670>:0x000000041393a0> Did you mean? user_session_path):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_tag users_path do %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb___3512892973594090245_34260560' Started GET “/login” for 127.0.0.1 at 2018-10-29 16:22:43 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (21.6ms)
Rendered users/sessions/new.html.erb within layouts/application (237.2ms)

Completed 200 OK in 401ms (Views: 362.5ms | ActiveRecord: 3.6ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:22:45 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (414.6ms)

Completed 500 Internal Server Error in 423ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `f' for #<#<Class:0x007fd97d69f2e0>:0x007fd97d682a50>):

10:                   </span>
11: 
12:         <div class="wrap-input100 validate-input m-b-16" data-validate = "Valid email is required: ex@abc.xyz">
13:           <%= f.email_field :email, autofocus: true, autocomplete: "email", class: 'input100', placeholder: 'Email' %>
14:           <span class="focus-input100"></span>
15:           <span class="symbol-input100">
16:                           <span class="fa fa-envelope"></span>

app/views/password_resets/new.html.erb:13:in `block in _app_views_password_resets_new_html_erb___57409464124649186_70286044054620' app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb___57409464124649186_70286044054620' Started GET “/login” for 127.0.0.1 at 2018-10-29 16:24:21 -0300

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (33.7ms)
Rendered users/sessions/new.html.erb within layouts/application (276.2ms)

Completed 200 OK in 446ms (Views: 401.2ms | ActiveRecord: 3.7ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:24:23 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (8.1ms)

Completed 200 OK in 89ms (Views: 82.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:24:26 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:24:30 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:24:32 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:24:43 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:29:17 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (0.6ms)

Completed 200 OK in 105ms (Views: 103.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:29:56 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.4ms)

Completed 200 OK in 337ms (Views: 329.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:30:41 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.9ms)

Completed 200 OK in 104ms (Views: 101.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:31:01 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.6ms)

Completed 500 Internal Server Error in 32ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (No route matches {:action=>“update”, :controller=>“password_resets”, :id=>nil}, possible unmatched constraints: [:id]):

10: 
11:       <div class="row">
12:           <div class="col-md-6 col-md-offset-3">
13:             <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
14:               
15:               <%= hidden_field_tag :email, @user.email %>
16:

app/views/password_resets/new.html.erb:13:in `_app_views_password_resets_new_html_erb__2985599764960690376_69876634933520' Started GET “/login” for 127.0.0.1 at 2018-10-29 16:34:30 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (21.6ms)
Rendered users/sessions/new.html.erb within layouts/application (36.2ms)

Completed 200 OK in 112ms (Views: 79.9ms | ActiveRecord: 4.3ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:34:31 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (313.4ms)

Completed 500 Internal Server Error in 318ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `f' for #<#<Class:0x00000004866ec0>:0x007f1aec156630>):

 5: 
 6:     <form action="formHandler.php" name="yourForm" id="theForm" method="post">    
 7:       <div class="container-login100-form-btn p-t-25">
 8:         <%= f.submit "Log in", class: 'login100-form-btn' %>
 9:       </div>
10: 
11:       <input type="text" name="fname" id="fname" style="width:90;font-size:10>

app/views/password_resets/new.html.erb:8:in `_app_views_password_resets_new_html_erb__2985599764960690376_69876803352540' Started GET “/login” for 127.0.0.1 at 2018-10-29 16:35:19 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.5ms)
Rendered users/sessions/new.html.erb within layouts/application (22.2ms)

Completed 200 OK in 106ms (Views: 101.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:35:20 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.4ms)

Completed 200 OK in 74ms (Views: 72.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:35:39 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.4ms)

Completed 200 OK in 88ms (Views: 85.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:23 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.1ms)

Completed 200 OK in 70ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:25 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:25 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:26 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:27 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:28 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:28 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:36:28 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:38:12 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/password_resets/new Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 21ms (ActiveRecord: 1.4ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:38:12 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 81ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/lWtyjOZDpFjTpb4Q4o43DA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 16:38:22 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"lWtyjOZDpFjTpb4Q4o43DA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/password_resets/new Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:38:22 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 57ms (Views: 55.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:38:32 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.2ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 16:38:34 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:51:54 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:51:55 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:11 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:13 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:15 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:18 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 17:53:18 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:08 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (7.2ms)

Completed 200 OK in 317ms (Views: 307.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 18:01:09 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (20.7ms)
Rendered users/sessions/new.html.erb within layouts/application (30.5ms)

Completed 200 OK in 129ms (Views: 84.3ms | ActiveRecord: 8.7ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:12 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 98ms (Views: 96.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:16 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:17 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:19 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:19 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:19 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:20 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:51 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.7ms)

Completed 200 OK in 104ms (Views: 102.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:53 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:01:54 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:02:49 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (9.2ms)

Completed 200 OK in 363ms (Views: 353.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:02:50 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:02:52 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:03:25 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (14.5ms)

Completed 200 OK in 92ms (Views: 90.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:03:57 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.8ms)

Completed 200 OK in 93ms (Views: 91.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:04:01 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:12 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.6ms)

Completed 200 OK in 104ms (Views: 102.6ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:13 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:15 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:15 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:45 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.5ms)

Completed 200 OK in 73ms (Views: 71.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:53 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:56 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:57 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:58 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:05:59 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:06:00 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:06:01 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:06:09 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:06:09 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/login” for 127.0.0.1 at 2018-10-29 18:07:18 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"udJjP6YL94z+EN/8BoYrVDHHRfcSAHFZYZjAQlqonD4lgQZRMOvPX1K92Ff4J7N8Ig6zkgYPDGk9MADuANA0Yg==", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}

Completed 401 Unauthorized in 2ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"udJjP6YL94z+EN/8BoYrVDHHRfcSAHFZYZjAQlqonD4lgQZRMOvPX1K92Ff4J7N8Ig6zkgYPDGk9MADuANA0Yg==", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (8.2ms)
Rendered users/sessions/new.html.erb within layouts/application (16.8ms)

Completed 200 OK in 92ms (Views: 62.1ms | ActiveRecord: 3.9ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:37 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.7ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:39 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:40 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:41 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:41 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:44 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:44 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:46 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:46 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:46 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:47 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:47 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:47 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:14:47 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:40 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:40 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:41 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:41 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:42 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:43 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:44 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:44 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:44 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:45 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started POST “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:20:46 -0300

ActionController::RoutingError (No route matches [POST] “/password_resets/new”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:22:22 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.5ms)

Completed 200 OK in 79ms (Views: 75.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:24:06 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (5.4ms)

Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (No route matches {:action=>“update”, :controller=>“password_resets”, :id=>nil}, possible unmatched constraints: [:id]):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb___652026373954505072_70138142917280' Started GET “/login” for 127.0.0.1 at 2018-10-29 18:24:21 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.3ms)
Rendered users/sessions/new.html.erb within layouts/application (17.2ms)

Completed 200 OK in 62ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:24:24 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.5ms)

Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (No route matches {:action=>“update”, :controller=>“password_resets”, :id=>nil}, possible unmatched constraints: [:id]):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb___652026373954505072_70138058726720' Started GET “/login” for 127.0.0.1 at 2018-10-29 18:25:11 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (31.0ms)
Rendered users/sessions/new.html.erb within layouts/application (274.4ms)

Completed 200 OK in 455ms (Views: 410.6ms | ActiveRecord: 6.4ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:25:13 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (421.9ms)

Completed 500 Internal Server Error in 432ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined local variable or method `password_resets' for #<#<Class:0x007f08bd60d728>:0x007f08bd6a0d70> Did you mean? password_resets_url

           password_resets_path
           password_reset_url):
2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(@user, url: password_resets) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb__3005670649994126376_69837756855920' Started GET “/login” for 127.0.0.1 at 2018-10-29 18:25:33 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.4ms)
Rendered users/sessions/new.html.erb within layouts/application (12.1ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:25:35 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.1ms)

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (First argument in form cannot contain nil or be empty):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(@user, url: password_resets_url) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb__3005670649994126376_69837711774860' Started GET “/login” for 127.0.0.1 at 2018-10-29 18:25:49 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (13.6ms)

Completed 200 OK in 68ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:25:57 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.8ms)

Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (undefined method `model_name' for {:url=>“0.0.0.0:3000/password_resets”}:Hash):

2: <div class="limiter">
3:   <div class="container-login100">
4:     <div class="wrap-login100 p-l-50 p-r-50 p-t-77 p-b-30">
5:       <%= form_for(url: password_resets_url) do |f| %>
6:                   <span class="login100-form-title p-b-55">
7:                       <h2 style="font-weight: bold;">
8:             Recuperar senha

app/views/password_resets/new.html.erb:5:in `_app_views_password_resets_new_html_erb__3005670649994126376_69837845999160' Started GET “/login” for 127.0.0.1 at 2018-10-29 18:28:37 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.3ms)
Rendered users/sessions/new.html.erb within layouts/application (19.7ms)

Completed 200 OK in 82ms (Views: 80.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:28:38 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 18:28:40 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6ItOpVMBLYiJGjoGuwlNjKpafqdhx/WwmrVvMuFr7u/k+9gwCBAmAH8eITyJQcou20VWTSfS3O1to6fhKlhRZQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "84iDwDHIidm4QhNhkqzBkg"], ["updated_at", "2018-10-29 21:28:40.839130"], ["id", 5]]
 (311.1ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 21:28:41.154568"], ["reset_sent_at", "2018-10-29 21:28:41.153560"], ["id", 5]]
 (196.2ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 335.4ms Sent mail to andre_luisferreira@hotmail.com (3896.2ms) Date: Mon, 29 Oct 2018 18:28:41 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd77b89ab075_24a419eeb10176e4@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd77b89a9955_24a419eeb101752f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd77b89a9955_24a419eeb101752f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd77b89a9955_24a419eeb101752f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/84iDwDHIidm4QhNhkqzBkg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd77b89a9955_24a419eeb101752f–

Redirected to 0.0.0.0:3000/ Completed 302 Found in 4768ms (ActiveRecord: 509.9ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 18:28:45 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.0ms)

Completed 200 OK in 67ms (Views: 65.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 18:28:47 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (12.6ms)

Completed 200 OK in 61ms (Views: 59.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:28:55 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (4.7ms)

Completed 200 OK in 132ms (Views: 115.4ms | ActiveRecord: 0.7ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:33:27 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.7ms)

Completed 200 OK in 59ms (Views: 55.4ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/84iDwDHIidm4QhNhkqzBkg” for 127.0.0.1 at 2018-10-29 18:33:37 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wyflrGH6FgraBdSa+oL84vFUABid1YN90zbmNfnjkk5cbgXDIBit+3VK1lUR4b2G0GqIQLiMYGtgjxjnNb5+4g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.1ms)

Completed 200 OK in 226ms (Views: 40.0ms | ActiveRecord: 1.2ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:35:42 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.4ms)

Completed 200 OK in 75ms (Views: 69.6ms | ActiveRecord: 0.4ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:37:20 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.9ms)

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.4ms)

ActionView::Template::Error (Missing partial shared/_error_messages with {:locale=>, :formats=>, :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:

"/home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/app/views"
"/var/lib/gems/2.3.0/gems/devise-4.4.3/app/views"

):

 4: <div class="row">
 5:   <div class="col-md-6 col-md-offset-3">
 6:     <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>
 7:       <%= render 'shared/error_messages' %>
 8: 
 9:       <%= hidden_field_tag :email, @user.email %>
10:

app/views/password_resets/edit.html.erb:7:in `block in _app_views_password_resets_edit_html_erb__3488301803169953336_69837863263520' app/views/password_resets/edit.html.erb:6:in `_app_views_password_resets_edit_html_erb__3488301803169953336_69837863263520' Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:37:33 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (21.8ms)

Completed 200 OK in 89ms (Views: 85.1ms | ActiveRecord: 0.4ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:38:10 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (10.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.3ms)

Completed 200 OK in 98ms (Views: 79.2ms | ActiveRecord: 10.7ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:38:34 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.9ms)

Completed 200 OK in 97ms (Views: 93.2ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:40:52 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.1ms)

Completed 200 OK in 102ms (Views: 92.1ms | ActiveRecord: 0.4ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:42:00 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.8ms)

Completed 200 OK in 83ms (Views: 78.4ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:42:24 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (4.1ms)

Completed 200 OK in 85ms (Views: 80.6ms | ActiveRecord: 0.9ms)

Started GET “/password_resets/84iDwDHIidm4QhNhkqzBkg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:43:24 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.5ms)

Completed 200 OK in 85ms (Views: 76.6ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/84iDwDHIidm4QhNhkqzBkg” for 127.0.0.1 at 2018-10-29 18:43:29 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"e9e3mh++ZVHwRbBcNp9GHF3yPiYxAZ9EJzXRc20eYELknlf1XlzeoF8KspPd/Ad4fMy2fhRYfFKUjC+hoUOM7g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.9ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 230ms (Views: 39.9ms | ActiveRecord: 2.5ms)

Started PATCH “/password_resets/84iDwDHIidm4QhNhkqzBkg” for 127.0.0.1 at 2018-10-29 18:43:32 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"8dhWKj1Ur2mZoGroAbiMyStLhZpnNBCGlm7RpcX29Q5ukbZFfLYUmDbvaCfq282tCnUNwkJt85Al1y93CasZog==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.0ms)

Completed 200 OK in 225ms (Views: 40.0ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/84iDwDHIidm4QhNhkqzBkg” for 127.0.0.1 at 2018-10-29 18:43:34 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j7qRI4QH5d6alaLqOOaoCF5ExJrveTbSnKykVcXlpKQQ83FMxeVeLzXaoCXThelsf3pMwsog1cQvFVqHCbhICA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"84iDwDHIidm4QhNhkqzBkg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.4ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.1ms)

Completed 200 OK in 224ms (Views: 46.6ms | ActiveRecord: 1.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:45:30 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 46ms (Views: 44.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 18:45:33 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xDx0prWSZ3tSKqCMPUrp5PRDCTOTXpF5BCnaie0aDQ7ITOIz7oNs86Quu7YPAm5GhVwh2dVLuCTzPxJaJimyhA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "d5V0A31FY0zUp1ZrC5PLaA"], ["updated_at", "2018-10-29 21:45:33.315407"], ["id", 5]]
 (200.2ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 21:45:33.519758"], ["reset_sent_at", "2018-10-29 21:45:33.518797"], ["id", 5]]
 (197.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 11.9ms Sent mail to andre_luisferreira@hotmail.com (3330.0ms) Date: Mon, 29 Oct 2018 18:45:33 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd77f7db4cec_24a419ee40817819@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd77f7db41a9_24a419ee40817757";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd77f7db41a9_24a419ee40817757 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/d5V0A31FY0zUp1ZrC5PLaA/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd77f7db41a9_24a419ee40817757 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/d5V0A31FY0zUp1ZrC5PLaA/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd77f7db41a9_24a419ee40817757–

Redirected to 0.0.0.0:3000/login Completed 302 Found in 3791ms (ActiveRecord: 403.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 18:45:37 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.6ms)
Rendered users/sessions/new.html.erb within layouts/application (17.5ms)

Completed 200 OK in 83ms (Views: 80.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/d5V0A31FY0zUp1ZrC5PLaA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 18:45:42 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 62.4ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 18:45:57 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 55ms (Views: 53.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/d5V0A31FY0zUp1ZrC5PLaA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 19:29:28 -0300

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (17.1ms)

Completed 200 OK in 395ms (Views: 354.0ms | ActiveRecord: 4.6ms)

Started GET “/password_resets/d5V0A31FY0zUp1ZrC5PLaA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:00:49 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.1ms)

Completed 200 OK in 128ms (Views: 121.6ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:52 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"URrYIE4n/BxXqtoy0y9i1Wm48zoJPycgL8bqeKQP+GfOUzhPD8VH7fjl2P04TCOxSIZ7YixmxDacfxSqaFIUyw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 241ms (Views: 60.3ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:55 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cHJ/nFfV6vw6ohUu8qY1Q8meVUCu32bg0+/F2qGLdsnvO5/zFjdRDZXtF+EZxXQn6KDdGIuGhfZgVjsIbdaaZQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 276ms (Views: 95.4ms | ActiveRecord: 1.3ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:56 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"SLTNd6XV9Ddnmo7/NQD2+ZVx+cc+gWaeBLKrExHbEkDX/S0Y5DdPxsjVjDDeY7edtE9xnxvYhYi3C1XB3Yb+7A==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.3ms)

Completed 200 OK in 89ms (Views: 82.8ms | ActiveRecord: 1.1ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:57 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zZZOUgVfYoMhQ7KnQF2LiSBZL6ej3d/+Ocx6ygXw6FJS3649RL3Zco4MsGirPsrtAWen/4aEPOiKdYQYya0E/g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.5ms)

Completed 200 OK in 69ms (Views: 54.9ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:58 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mulde6LrqBCHEw8oWnOGwqfukbhy4LjJI5wKgcRW8v0FoL0U4wkT4ShcDeexEMemhtAZ4Fe5W9+QJfRTCAseUQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.2ms)

Completed 200 OK in 86ms (Views: 81.0ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:59 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ri+eahpAMEAEfW5hPEPA0xDHMWoNv/I9RMYIz8eKZjHZZn4FW6KLsasybK7XIIG3Mfm5MijmESv3f/YdC9eKnQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.3ms)

Completed 200 OK in 58ms (Views: 50.7ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/d5V0A31FY0zUp1ZrC5PLaA” for 127.0.0.1 at 2018-10-29 20:00:59 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Y+ZzL6PnJvnPfxKV1T4lhEX2dZC0g/n7SdZs2tSnPOz8r5NA4gWdCGAwEFo+XWTgZMj9yJHaGu36b5IIGPrQQA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"d5V0A31FY0zUp1ZrC5PLaA"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (1.9ms)

Completed 200 OK in 58ms (Views: 47.7ms | ActiveRecord: 0.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:01:57 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (16.3ms)
Rendered users/sessions/new.html.erb within layouts/application (28.5ms)

Completed 200 OK in 86ms (Views: 83.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 20:02:03 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.6ms)

Completed 200 OK in 56ms (Views: 54.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:02:12 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tn2IZrnlxhKYM6jaABwm+bWVH6EFviNVCeoKMiF1qYnkmwMest8WDUgEqfouOlup/s8nM2alZIF1M3wgqp4pFQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "NWEYlYGdymCfJP4r9TPgMg"], ["updated_at", "2018-10-29 23:02:12.123246"], ["id", 5]]
 (216.7ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 23:02:12.346403"], ["reset_sent_at", "2018-10-29 23:02:12.345217"], ["id", 5]]
 (178.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 254.3ms Sent mail to andre_luisferreira@hotmail.com (3668.1ms) Date: Mon, 29 Oct 2018 20:02:12 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd79174c1d5f_2c0c26ab31c81884@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd79174c02d9_2c0c26ab31c817bd";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd79174c02d9_2c0c26ab31c817bd Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd79174c02d9_2c0c26ab31c817bd Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/NWEYlYGdymCfJP4r9TPgMg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd79174c02d9_2c0c26ab31c817bd–

Redirected to 0.0.0.0:3000/login Completed 302 Found in 4342ms (ActiveRecord: 397.1ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:02:16 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.2ms)
Rendered users/sessions/new.html.erb within layouts/application (13.6ms)

Completed 200 OK in 72ms (Views: 69.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:02:55 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.9ms)

Completed 200 OK in 112ms (Views: 107.9ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/NWEYlYGdymCfJP4r9TPgMg” for 127.0.0.1 at 2018-10-29 20:02:59 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"oAkFFLPgtz6XvJNLdkMkElr1lxQjYZ6FmyOv5eQv2AnZAaWRqW+7w7pp8bQ+uRVC8uIPFgupSPlrjgDyQwoNdA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (4.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.4ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.2ms)

Completed 200 OK in 240ms (Views: 50.1ms | ActiveRecord: 6.3ms)

Started PATCH “/password_resets/NWEYlYGdymCfJP4r9TPgMg” for 127.0.0.1 at 2018-10-29 20:03:02 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6V+uLvDac/b3BYDb2DWpXil15bPpO8FnOD4x1ZNdlXaQVw6r6lV/C9rQ4iSQz5gOgWJ9scHzFxvIk57CNHhACw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Confirmar", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.2ms)

Completed 200 OK in 80ms (Views: 73.0ms | ActiveRecord: 0.6ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:04:09 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (17.5ms)

Completed 200 OK in 97ms (Views: 89.3ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:04:23 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (4.0ms)

Completed 200 OK in 113ms (Views: 106.1ms | ActiveRecord: 0.4ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:04:38 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.7ms)

Completed 200 OK in 80ms (Views: 76.2ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:12 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (5.4ms)

Completed 200 OK in 142ms (Views: 131.8ms | ActiveRecord: 0.7ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:39 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.2ms)

Completed 200 OK in 58ms (Views: 52.2ms | ActiveRecord: 0.6ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:46 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.1ms)

Completed 200 OK in 63ms (Views: 59.1ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:47 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.2ms)

Completed 200 OK in 62ms (Views: 56.4ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:48 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.8ms)

Completed 200 OK in 68ms (Views: 63.0ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:13:58 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (3.6ms)

Completed 200 OK in 51ms (Views: 46.8ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:14:07 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered password_resets/edit.html.erb within layouts/application (2.9ms)

Completed 200 OK in 52ms (Views: 48.1ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:15:38 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.4ms)
Rendered password_resets/edit.html.erb within layouts/application (9.7ms)

Completed 200 OK in 60ms (Views: 56.3ms | ActiveRecord: 1.0ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:17:19 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.9ms)
Rendered password_resets/edit.html.erb within layouts/application (11.3ms)

Completed 200 OK in 62ms (Views: 57.1ms | ActiveRecord: 0.7ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:17:21 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.9ms)
Rendered password_resets/edit.html.erb within layouts/application (12.8ms)

Completed 200 OK in 58ms (Views: 53.0ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:17:27 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (7.2ms)
Rendered password_resets/edit.html.erb within layouts/application (24.7ms)

Completed 200 OK in 136ms (Views: 127.7ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:20:31 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.4ms)
Rendered password_resets/edit.html.erb within layouts/application (9.6ms)

Completed 200 OK in 59ms (Views: 54.7ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:20:43 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.6ms)
Rendered password_resets/edit.html.erb within layouts/application (22.6ms)

Completed 200 OK in 91ms (Views: 85.5ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:21:46 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pVu3GXdQjMLaEkPliEnUl0+IhrGzwWoMxEZh/YgGuYs6Eld2NrI3M3VdQSpjKpXzbrYO6ZaYiRp3/58vRFtVJw==", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:21:59 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (24.1ms)

Completed 200 OK in 98ms (Views: 93.9ms | ActiveRecord: 0.3ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:22:05 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eoMrjCe65gK27r4TQmxaHT/BatMshA86akz7ZIns2TflysvjZlhd8xmhvNypDxt5Hv/iiwnd7CzZ9QW2RbE1mw==", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:24:11 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.0ms)
Rendered password_resets/edit.html.erb within layouts/application (10.1ms)

Completed 200 OK in 61ms (Views: 58.4ms | ActiveRecord: 0.2ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:24:11 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.0ms)
Rendered password_resets/edit.html.erb within layouts/application (11.0ms)

Completed 200 OK in 74ms (Views: 69.8ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:24:15 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZUqNB+i+6ygbOQD7dUdyc6s3yejMdhfPNK0r2YC0g4v6A21oqVxQ2bR2AjSeJDMXiglBsOkv9NmHFNULTOlvJw==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:25:19 -0300

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (8.0ms)
Rendered password_resets/edit.html.erb within layouts/application (258.2ms)

Completed 200 OK in 440ms (Views: 387.1ms | ActiveRecord: 7.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:25:23 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kR0GzB4abIDKAlh+W0ltwWkcSMdn3tej4W10BiiSPU8OVOajX/jXcWVNWrGwKiylSCLAn0KHNLVS1IrU5M/R4w==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:26:04 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kR0GzB4abIDKAlh+W0ltwWkcSMdn3tej4W10BiiSPU8OVOajX/jXcWVNWrGwKiylSCLAn0KHNLVS1IrU5M/R4w==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:26:30 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (15.0ms)
Rendered password_resets/edit.html.erb within layouts/application (23.3ms)

Completed 200 OK in 82ms (Views: 75.9ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/NWEYlYGdymCfJP4r9TPgMg” for 127.0.0.1 at 2018-10-29 20:26:33 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"M5h/N89+7itvt/AkBvU7qk9TmZgXXVlPnS7pHIIvTxms0Z9YjpxV2sD48uvtlnrObm0RwDIEulkulxfOTnKjtQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.7ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.0ms)
Rendered password_resets/edit.html.erb within layouts/application (8.0ms)

Completed 200 OK in 236ms (Views: 52.5ms | ActiveRecord: 1.3ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:27:02 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.1ms)
Rendered password_resets/edit.html.erb within layouts/application (16.7ms)

Completed 200 OK in 81ms (Views: 75.9ms | ActiveRecord: 0.9ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:27:38 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.4ms)
Rendered password_resets/edit.html.erb within layouts/application (12.4ms)

Completed 200 OK in 78ms (Views: 72.5ms | ActiveRecord: 0.6ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:27:40 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J3B2SGWA8HjyO7cAntlozIb7c9slEE8iiZKHcFKiduW4OZYnJGJLiV10tc91uimop8X7gwBJrDQ6K3minv+aSQ==", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:27:42 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J3B2SGWA8HjyO7cAntlozIb7c9slEE8iiZKHcFKiduW4OZYnJGJLiV10tc91uimop8X7gwBJrDQ6K3minv+aSQ==", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:27:50 -0300

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (15.1ms)
Rendered password_resets/edit.html.erb within layouts/application (396.3ms)

Completed 200 OK in 741ms (Views: 698.0ms | ActiveRecord: 4.9ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:27:51 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j4qeWV0oG5+bqnOw5XuDTTfT/mVQjfVnp6GThGl3Lk0Qw342HMqgbjTlcX8OGMIpFu12PXXUFnEUGG1WpSrC4Q==", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:29:54 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.6ms)
Rendered password_resets/edit.html.erb within layouts/application (18.0ms)

Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.4ms)

ActionView::Template::Error (wrong number of arguments (given 3, expected 1..2)):

10:                   </span>
11:         
12:         <div class="wrap-input100 validate-input m-b-16" >
13:           <%= f.email_field :email, @user.email, placeholder: 'Email' %>
14:             <span class="focus-input100"></span>
15:             <span class="symbol-input100">
16:             <span class="fa fa-envelope"></span>

app/views/layouts/_password_reset-form.html.erb:13:in `block in _app_views_layouts__password_reset_form_html_erb__381773169535548997_32875280' app/views/layouts/_password_reset-form.html.erb:5:in `_app_views_layouts__password_reset_form_html_erb__381773169535548997_32875280' app/views/password_resets/edit.html.erb:7:in `_app_views_password_resets_edit_html_erb__575758175269971346_37106580' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:30:24 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (6.2ms)
Rendered password_resets/edit.html.erb within layouts/application (13.6ms)

Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.7ms)

ActionView::Template::Error (undefined method `merge' for “andre_luisferreira@hotmail.com”:String):

10:                   </span>
11:         
12:         <div class="wrap-input100 validate-input m-b-16" >
13:           <%= f.email_field :email, @user.email%>
14:             <span class="focus-input100"></span>
15:             <span class="symbol-input100">
16:             <span class="fa fa-envelope"></span>

app/views/layouts/_password_reset-form.html.erb:13:in `block in _app_views_layouts__password_reset_form_html_erb__381773169535548997_70039590989400' app/views/layouts/_password_reset-form.html.erb:5:in `_app_views_layouts__password_reset_form_html_erb__381773169535548997_70039590989400' app/views/password_resets/edit.html.erb:7:in `_app_views_password_resets_edit_html_erb__575758175269971346_70039591212480' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:30:33 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.2ms)
Rendered password_resets/edit.html.erb within layouts/application (13.0ms)

Completed 200 OK in 64ms (Views: 59.1ms | ActiveRecord: 0.6ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:30:37 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WfefG/PvCMLAf+ePmyv8r3Lc7Wb/G7bt5lkkXGONnjnGvn90sg2zM28w5UBwSL3LU+JlPtpCVftV4NqOr9BylQ==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:31:56 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (166.5ms)
Rendered password_resets/edit.html.erb within layouts/application (176.8ms)

Completed 500 Internal Server Error in 183ms (ActiveRecord: 0.5ms)

ActionView::Template::Error (undefined method `field_tag' for #<#<Class:0x000000044de6b8>:0x007f66c06f7100> Did you mean? field_set_tag):

10:                   </span>
11:         
12:         <div class="wrap-input100 validate-input m-b-16" >
13:         <%= field_tag :email, @user.email %>
14:             <span class="focus-input100"></span>
15:             <span class="symbol-input100">
16:             <span class="fa fa-envelope"></span>

app/views/layouts/_password_reset-form.html.erb:13:in `block in _app_views_layouts__password_reset_form_html_erb__381773169535548997_70039646131480' app/views/layouts/_password_reset-form.html.erb:5:in `_app_views_layouts__password_reset_form_html_erb__381773169535548997_70039646131480' app/views/password_resets/edit.html.erb:7:in `_app_views_password_resets_edit_html_erb__575758175269971346_70039645961580' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:32:03 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.5ms)
Rendered password_resets/edit.html.erb within layouts/application (8.5ms)

Completed 200 OK in 68ms (Views: 64.3ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:32:09 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"f8t0SykXMZ2uurtfnXhym0JVYPTb7nJb6TZTMYCYjZfggpQkaPWKbAH1uZB2GzP/Y2vorP63kU1aj63jTMVhOw==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:32:37 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (21.2ms)
Rendered password_resets/edit.html.erb within layouts/application (36.7ms)

Completed 200 OK in 128ms (Views: 121.7ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/NWEYlYGdymCfJP4r9TPgMg” for 127.0.0.1 at 2018-10-29 20:32:40 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ua14ducnc8ecoMeG0sXDr52OlpXXSpNBPQsBThQgNzgm5JgZpsXINjPvxUk5poLLvLAezfITcFeOsv+c2H3blA==", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.6ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:32:40 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (4.1ms)

Completed 200 OK in 81ms (Views: 78.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:32:45 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.9ms)
Rendered users/sessions/new.html.erb within layouts/application (13.1ms)

Completed 200 OK in 69ms (Views: 66.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:32:55 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.1ms)
Rendered password_resets/edit.html.erb within layouts/application (9.1ms)

Completed 200 OK in 76ms (Views: 72.5ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/NWEYlYGdymCfJP4r9TPgMg” for 127.0.0.1 at 2018-10-29 20:32:58 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lj2uRfkN767djoFZxMKlJWDTcfQrZdrGmJhT6KmEJWYJdE4quO9UX3LBg5YvoeRBQe35rA48OdArIa06ZdnJyg==", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Update password", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:32:58 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.3ms)

Completed 200 OK in 46ms (Views: 45.2ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:33:10 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.8ms)

Completed 200 OK in 82ms (Views: 78.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:33:13 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (18.2ms)

Completed 200 OK in 98ms (Views: 90.7ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:33:16 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k729hod/HrlesyJYyDZypiukewEEKT4cioxwejwVklkM9F3pxp2lSPH8IJcjVTPCCprzWSFw3Qo5NY6o8Eh+9Q==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:10:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:33:48 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k729hod/HrlesyJYyDZypiukewEEKT4cioxwejwVklkM9F3pxp2lSPH8IJcjVTPCCprzWSFw3Qo5NY6o8Eh+9Q==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

NoMethodError (undefined method `downcase' for nil:NilClass):

app/controllers/password_resets_controller.rb:11:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:34:37 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k729hod/HrlesyJYyDZypiukewEEKT4cioxwejwVklkM9F3pxp2lSPH8IJcjVTPCCprzWSFw3Qo5NY6o8Eh+9Q==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "_b1vptv8XFHM_MhApUCifg"], ["updated_at", "2018-10-29 23:34:37.549351"], ["id", 5]]
 (61.5ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 23:34:37.614973"], ["reset_sent_at", "2018-10-29 23:34:37.614060"], ["id", 5]]
 (1151.5ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 310.3ms Sent mail to andre_luisferreira@hotmail.com (3800.6ms) Date: Mon, 29 Oct 2018 20:34:39 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd7990f17a6a_377d1f9795431de@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd7990f16394_377d1f9795430df";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd7990f16394_377d1f9795430df Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/_b1vptv8XFHM_MhApUCifg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd7990f16394_377d1f9795430df Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/_b1vptv8XFHM_MhApUCifg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd7990f16394_377d1f9795430df–

Redirected to localhost:3000/login Completed 302 Found in 5372ms (ActiveRecord: 1218.6ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:34:42 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.1ms)
Rendered users/sessions/new.html.erb within layouts/application (9.1ms)

Completed 200 OK in 52ms (Views: 50.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/NWEYlYGdymCfJP4r9TPgMg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:34:52 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"NWEYlYGdymCfJP4r9TPgMg"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.8ms)
Rendered password_resets/edit.html.erb within layouts/application (18.4ms)

Completed 200 OK in 87ms (Views: 82.4ms | ActiveRecord: 0.8ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:35:06 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"31QnukNjKIUeqN3JTcfV0OeUrNDEpQYMrSS0fKt7bGxAHcfVAoGTdLHn3wampJS0xqokiOH85RoenUquZyaAwA==", "email"=>"andre_luisferreira@hotmail.com", "password_reset"=>"[FILTERED]", "commit"=>"Alterar Senha"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "qrq5DFrvw0aREbd7TLqo5g"], ["updated_at", "2018-10-29 23:35:06.077668"], ["id", 5]]
 (66.0ms)  COMMIT
 (0.2ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 23:35:06.149984"], ["reset_sent_at", "2018-10-29 23:35:06.148831"], ["id", 5]]
 (50.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 19.9ms Sent mail to andre_luisferreira@hotmail.com (3161.9ms) Date: Mon, 29 Oct 2018 20:35:06 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd7992a375a8_377d1f976e8336f@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd7992a3648d_377d1f976e83242";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd7992a3648d_377d1f976e83242 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar uma senha clique no link abaixo:

localhost:3000/password_resets/qrq5DFrvw0aREbd7TLqo5g/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd7992a3648d_377d1f976e83242 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar uma senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/qrq5DFrvw0aREbd7TLqo5g/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd7992a3648d_377d1f976e83242–

Redirected to localhost:3000/login Completed 302 Found in 3316ms (ActiveRecord: 119.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:35:09 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (13.9ms)

Completed 200 OK in 76ms (Views: 73.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/qrq5DFrvw0aREbd7TLqo5g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:36:30 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (10.4ms)

Completed 200 OK in 115ms (Views: 67.5ms | ActiveRecord: 6.8ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:36:33 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"B+sX3ZtH3hacg7CxERVAzy9ADJ10sFfZWyP/8a7YuHCYovey2qVl5zPMsn76dgGrDn6ExVHptM/omgEjYoVU3A==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.9ms)  BEGIN
 (0.4ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (7.1ms)

Completed 200 OK in 264ms (Views: 54.4ms | ActiveRecord: 1.8ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:36:40 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aPPgoPs3YL0g45ivNqPR/CTeYjRYZLWbt3hCddHokkf3ugDPutXbTI+smmDdwJCYBeDqbH09Vo0EwbynHbV+6w==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (2.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.7ms)
Rendered password_resets/edit.html.erb within layouts/application (10.9ms)

Completed 200 OK in 69ms (Views: 64.4ms | ActiveRecord: 2.1ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:36:42 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"rdaONFcEBNMlbLWOqWlPfOtsxv7+hkG9QzjNyiYJB6Yyn25bFua/Ioojt0FCCg4YylJOptvfoqvwgTMY6lTrCg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.5ms)
Rendered password_resets/edit.html.erb within layouts/application (17.3ms)

Completed 200 OK in 84ms (Views: 78.8ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:36:47 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"A4j10NJFFpqEmgpryLqXzNZ2PEyh/VKy6mHMyiTJEuScwRW/k6etayvVCKQj2dao90i0FISksaRZ2DIY6JT+SA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$wtKP/fUWHvAJSzdxlUoVeu5GZ.IrKzhKD4rovIcNgKjE/b.gAe41e"], ["updated_at", "2018-10-29 23:36:47.734385"], ["id", 5]]
 (61.1ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 237ms (ActiveRecord: 62.3ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:36:47 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.1ms)
Rendered users/sessions/new.html.erb within layouts/application (9.8ms)

Completed 200 OK in 56ms (Views: 53.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:38:44 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.6ms)
Rendered users/sessions/new.html.erb within layouts/application (12.1ms)

Completed 200 OK in 92ms (Views: 61.2ms | ActiveRecord: 3.9ms)

Started GET “/password_resets/qrq5DFrvw0aREbd7TLqo5g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:38:51 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (14.0ms)

Completed 200 OK in 96ms (Views: 90.2ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:38:56 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ulA4orHGjZ/HRwQI7vgfEZ3wJHzaSE/XSVMs4OAJGFglGdjN8CQ2bmgIBscFm151vM6sJP8RrMH66tIyLFT09A==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.3ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (7.4ms)

Completed 200 OK in 235ms (Views: 57.7ms | ActiveRecord: 2.0ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:39:08 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"wQSFQQ+jmQwk9cqY/0hroRtsPog2a14dPh5S3TxL0yNeTWUuTkEi/Yu6yFcUKyrFOlK20BMyvQuNp6wP8BY/jw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.6ms)
Rendered password_resets/edit.html.erb within layouts/application (9.6ms)

Completed 200 OK in 80ms (Views: 69.5ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:39:13 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BBp9+JYtf9us0MrfEGVVeAj1WlGpHsK/uHROXhJbNsebU52X18/EKgOfyBD7BhQcKcvSCYxHIakLzbCM3gbaaw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.8ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.1ms)
Rendered password_resets/edit.html.erb within layouts/application (7.4ms)

Completed 200 OK in 251ms (Views: 56.5ms | ActiveRecord: 2.3ms)

Started PATCH “/password_resets/qrq5DFrvw0aREbd7TLqo5g” for 127.0.0.1 at 2018-10-29 20:39:18 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7U28EEKAKC4xFPf5ZuA8m0d3366z1IEw+ivq490W1LVyBFx/A2KT355b9TaNg33/ZklX9paNYiZJkhQxEUs4GQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"qrq5DFrvw0aREbd7TLqo5g"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.9ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$79WbHpO1xRZTy6/IyX9GvO.VPqlefandBTDHSfFDmk27n/QMns5xy"], ["updated_at", "2018-10-29 23:39:18.822666"], ["id", 5]]
 (58.9ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 272ms (ActiveRecord: 60.7ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:39:18 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.3ms)
Rendered users/sessions/new.html.erb within layouts/application (8.5ms)

Completed 200 OK in 54ms (Views: 52.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 20:39:22 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NJto6nlP9Zlecg4anxwe3nVG4p/pR0W7NJHrhg7hQair0oiFOK1OaPE9DNV0f1+6VHhqx8wepq2HKBVUwrytBA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-29 23:39:23.172161"], ["last_sign_in_at", "2018-10-29 18:26:48.360182"], ["sign_in_count", 3], ["updated_at", "2018-10-29 23:39:23.173357"], ["id", 5]]
 (165.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 377ms (ActiveRecord: 167.5ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:39:23 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.5ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 55ms (Views: 52.6ms | ActiveRecord: 0.7ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-29 20:39:25 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"SAXpcwVGOfbB5XBdDCXZJzNqV0zhqMQTBoaZ7LY1NJmFPGA/DkM0Z+5ImjoSFkMS/RxsLihQSILxmXYc78mhVg=="}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (1.7ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 12ms (ActiveRecord: 2.7ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:39:25 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/_b1vptv8XFHM_MhApUCifg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:40:29 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.9ms)
Rendered password_resets/edit.html.erb within layouts/application (11.1ms)

Completed 200 OK in 128ms (Views: 92.2ms | ActiveRecord: 6.5ms)

Started PATCH “/password_resets/_b1vptv8XFHM_MhApUCifg” for 127.0.0.1 at 2018-10-29 20:40:44 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nwxlRRj1rOcw8C8zM5l6qWIETkhzd1kIAExaadfg2sZBY4AStHEJsG/DfjwlhAY4ZebU3CNnrgZual6lRvxjBA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.3ms)
Rendered password_resets/edit.html.erb within layouts/application (12.2ms)

Completed 200 OK in 246ms (Views: 71.4ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/_b1vptv8XFHM_MhApUCifg” for 127.0.0.1 at 2018-10-29 20:40:46 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GBxOUvcmFi1t+MALK6Apq6mv/XR6miI/MplpcMgTUofGc6sFW6KzejLLkQQ9vVU6rk1n4CqK1TFcv228WQ/rRQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (8.6ms)

Completed 200 OK in 229ms (Views: 55.9ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/_b1vptv8XFHM_MhApUCifg” for 127.0.0.1 at 2018-10-29 20:40:52 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xkuI0Af4FRsKbvPONh3bqxMf8WfK1r/qg67YbQCxhAMYJG2Hq3ywTFVdosEgAKc6FP1r85rGSOTtiNyhka09wQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (10.2ms)

Completed 200 OK in 69ms (Views: 63.8ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/_b1vptv8XFHM_MhApUCifg” for 127.0.0.1 at 2018-10-29 20:41:01 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6/mZg88XEidYJRN1k6pwgMkYLt0/YVx6lUVD9gz1RSg1lnzUY5O3cAcWQnqFtwwRzvq0SW9xq3T7Y0c6nen86g==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (7.2ms)

Completed 200 OK in 241ms (Views: 66.9ms | ActiveRecord: 1.1ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 20:41:05 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ngh4AMeQCauRUeOV+W2thl8lt5Bou3IWegtDwHHkPl3SSesZNDgmRsC8Wp+ltddOjkL+ldrjdfpjICjUSleGAA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 169ms (ActiveRecord: 0.4ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ngh4AMeQCauRUeOV+W2thl8lt5Bou3IWegtDwHHkPl3SSesZNDgmRsC8Wp+ltddOjkL+ldrjdfpjICjUSleGAA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.7ms)
Rendered users/sessions/new.html.erb within layouts/application (9.8ms)

Completed 200 OK in 235ms (Views: 68.9ms | ActiveRecord: 0.0ms)

Started PATCH “/password_resets/_b1vptv8XFHM_MhApUCifg” for 127.0.0.1 at 2018-10-29 20:41:18 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VTwHxRrWE18hVZDuqn3OHQIaJnoKAxZj7/ZtEI9Vm4OLU+KStlK2CH5mweG8YLKMBfi87loT4W2B0GncHkkiQQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"_b1vptv8XFHM_MhApUCifg"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.3ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$YkJpOZ4WFEfHXvCgPP4rRu8Qdl6vAhjvL.VDuCFE9ox.GCibKibxq"], ["updated_at", "2018-10-29 23:41:18.442153"], ["id", 5]]
 (56.4ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 286ms (ActiveRecord: 59.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:41:18 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (11.4ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 20:41:23 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AUi+/a9nTGvefgZ9VZJc5LR5Mwgewy6a+s80NHVZP1bfJ1uqA+PpPIFNV3JDjyB1s5upnE7T2ZSU6TD45EWGlA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-29 23:41:23.256904"], ["last_sign_in_at", "2018-10-29 23:39:23.172161"], ["sign_in_count", 4], ["updated_at", "2018-10-29 23:41:23.257943"], ["id", 5]]
 (134.1ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 320ms (ActiveRecord: 135.6ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:41:23 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 56ms (Views: 54.6ms | ActiveRecord: 0.6ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-29 20:41:26 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"RGg/N/Vo7IdJ/8sk/MJQewzVKiZO9bUHFF5oraxoPOk/sMe3qqwKUBnQ3IadCwMRadf4W6vZ7k+Yhm4tZ/+ACg=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 11ms (ActiveRecord: 0.9ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:41:26 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:42:24 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.5ms)
Rendered users/sessions/new.html.erb within layouts/application (22.9ms)

Completed 200 OK in 91ms (Views: 89.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-10-29 20:42:25 -0300 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.4ms)

Completed 200 OK in 70ms (Views: 69.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-10-29 20:42:27 -0300 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EkuJiqhoxJCMG8E5Pe5TWfKVHr9eTYVVmlyTSfxoPaPMR1uPLdGhh/KJm6233XDlE7xepCoxqqQ7MA+A4UlIjQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "UNarbpgYTpYYU5Hr0t_V8g"], ["updated_at", "2018-10-29 23:42:27.455283"], ["id", 5]]
 (246.3ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-10-29 23:42:27.707067"], ["reset_sent_at", "2018-10-29 23:42:27.705800"], ["id", 5]]
 (184.5ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.0ms)

UserMailer#password_reset: processed outbound mail in 18.6ms Sent mail to andre_luisferreira@hotmail.com (3377.4ms) Date: Mon, 29 Oct 2018 20:42:27 -0300 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bd79ae3e1fb8_377d1f977883515@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bd79ae3e07d9_377d1f9778834a2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bd79ae3e07d9_377d1f9778834a2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/UNarbpgYTpYYU5Hr0t_V8g/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bd79ae3e07d9_377d1f9778834a2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/UNarbpgYTpYYU5Hr0t_V8g/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bd79ae3e07d9_377d1f9778834a2–

Redirected to localhost:3000/login Completed 302 Found in 3858ms (ActiveRecord: 433.3ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:42:31 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.6ms)
Rendered users/sessions/new.html.erb within layouts/application (15.2ms)

Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/UNarbpgYTpYYU5Hr0t_V8g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:42:38 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.2ms)
Rendered password_resets/edit.html.erb within layouts/application (17.2ms)

Completed 200 OK in 94ms (Views: 86.5ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/UNarbpgYTpYYU5Hr0t_V8g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-10-29 20:43:17 -0300 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.3ms)
Rendered password_resets/edit.html.erb within layouts/application (9.8ms)

Completed 200 OK in 64ms (Views: 58.7ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/UNarbpgYTpYYU5Hr0t_V8g” for 127.0.0.1 at 2018-10-29 20:43:21 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Eq29Vpo+KbZs8Vdr85NZBxtgIn5msWDdrRexZyFWFE1Rv4DO+BKGkLPj0760z/bFq7IyX4s/91hUNplV/n2XrA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (7.7ms)

Completed 200 OK in 235ms (Views: 61.4ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/UNarbpgYTpYYU5Hr0t_V8g” for 127.0.0.1 at 2018-10-29 20:43:23 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dY+smSuJzzjn47K3HV2Rcf8w2qocsEjpxXo/zE+Nk8A2nZEBSaVgHjjxNmJaAT6zT+LKi/E+32w8Wxf+kKYQIQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (7.5ms)

Completed 200 OK in 238ms (Views: 64.3ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/UNarbpgYTpYYU5Hr0t_V8g” for 127.0.0.1 at 2018-10-29 20:43:27 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"MRI4vZ6clKLq9eNg2OiktTyjW9crQiglCGzESOEOOIlyAAUl/LA7hDXnZ7WftAt3jHFL9sbMv6DxTex6PiW7aA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (1.4ms)  BEGIN
 (0.4ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.5ms)
Rendered password_resets/edit.html.erb within layouts/application (6.5ms)

Completed 200 OK in 307ms (Views: 58.9ms | ActiveRecord: 2.7ms)

Started PATCH “/password_resets/UNarbpgYTpYYU5Hr0t_V8g” for 127.0.0.1 at 2018-10-29 20:43:32 -0300 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kn87PqwG39g43k3dQzJ8HL3P+pwFxtSk7bRRXDo/pEFpbQamzipw/ufMyQgEbtPeDR3qvehIQyEUlXlu5RQnoA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$mdYL2ZhnslBJsbE1eZIfxeSJ1YkPzWDpOhHbV6Q5KMco8kAcUX6wq"], ["updated_at", "2018-10-29 23:43:32.564755"], ["id", 5]]
 (63.2ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 269ms (ActiveRecord: 64.4ms)

Started GET “/login” for 127.0.0.1 at 2018-10-29 20:43:32 -0300 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.9ms)
Rendered users/sessions/new.html.erb within layouts/application (10.0ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-10-29 20:43:36 -0300 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LYuC0bbkCKAnz8qIEWpAOBmc+R9F7H8pwcM5dZea2u1umb9J1MinhvjdTl1WNu/6qU7pPqhi6Kw44hFHSLFZDA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-10-29 23:43:37.162371"], ["last_sign_in_at", "2018-10-29 23:41:23.256904"], ["sign_in_count", 5], ["updated_at", "2018-10-29 23:43:37.163414"], ["id", 5]]
 (143.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 351ms (ActiveRecord: 144.4ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:43:37 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 61ms (Views: 57.2ms | ActiveRecord: 0.5ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-10-29 20:43:38 -0300 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"AtKNjIu3Mi9xA6yZE0slKOs2wUj8hH2WLqzwTGwppPRfLzKv0sNsMKXny9s/cvagh03aJ1s+AD857DMhuvY2JA=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (1.7ms)  BEGIN
 (0.5ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 13ms (ActiveRecord: 3.0ms)

Started GET “/” for 127.0.0.1 at 2018-10-29 20:43:38 -0300 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.9ms)

Completed 200 OK in 48ms (Views: 46.3ms | ActiveRecord: 0.0ms)

 (2.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (48.8ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.6ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.5ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (1214.4ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_test"
 (3310.9ms)  CREATE DATABASE "Reserva-de-Salas_test" ENCODING = 'unicode'
SQL (0.6ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.5ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (316.4ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (218.1ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (247.9ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.6ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (498.6ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (482.3ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (304.0ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (251.4ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (518.9ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (52.2ms)  INSERT INTO "schema_migrations" (version) VALUES (20181028154228)
 (55.5ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625);



 (488.0ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (1.0ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.0ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-05 18:10:33.400692"], ["updated_at", "2018-11-05 18:10:33.400692"]]
 (59.5ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.7ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.9ms)  UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3  [["value", "test"], ["updated_at", "2018-11-05 18:10:33.487174"], ["key", "environment"]]
 (59.8ms)  COMMIT

Started GET “/” for 127.0.0.1 at 2018-11-05 20:36:51 -0200

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.9ms)

Completed 200 OK in 1416ms (Views: 1408.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-05 20:37:00 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (40.8ms)
Rendered users/sessions/new.html.erb within layouts/application (167.8ms)

Completed 200 OK in 330ms (Views: 241.5ms | ActiveRecord: 37.1ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-05 20:45:19 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.1ms)

Completed 200 OK in 86ms (Views: 84.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/edit” for 127.0.0.1 at 2018-11-05 20:52:07 -0200 Processing by PasswordResetsController#edit as HTML

User Load (457.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 469ms (ActiveRecord: 457.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-05 20:52:07 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.2ms)

Completed 200 OK in 92ms (Views: 89.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-05 20:53:57 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (8.3ms)
Rendered users/sessions/new.html.erb within layouts/application (27.5ms)

Completed 200 OK in 129ms (Views: 125.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-05 20:53:58 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 61ms (Views: 60.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-05 20:54:01 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dIE6TOV22+sDR+vVLcfccudE/TsXjtlA6CC13VKib5xK01kQh7waz7/DFmjJlGJO9w8hZXmyGQjCGD+Ri0dI+A==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "4vut0GEwAhfQGx8nvhoW6Q"], ["updated_at", "2018-11-05 22:54:01.550904"], ["id", 5]]
 (209.9ms)  COMMIT
 (0.1ms)  BEGIN
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-05 22:54:01.765719"], ["reset_sent_at", "2018-11-05 22:54:01.764912"], ["id", 5]]
 (195.2ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 416.2ms Sent mail to andre_luisferreira@hotmail.com (3702.6ms) Date: Mon, 05 Nov 2018 20:54:02 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be0ca0a60305_1e121fd66a47158a@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be0ca0a5e75f_1e121fd66a471464";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be0ca0a5e75f_1e121fd66a471464 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/4vut0GEwAhfQGx8nvhoW6Q/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be0ca0a5e75f_1e121fd66a471464 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/4vut0GEwAhfQGx8nvhoW6Q/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be0ca0a5e75f_1e121fd66a471464–

Redirected to localhost:3000/login Completed 302 Found in 4555ms (ActiveRecord: 406.9ms)

Started GET “/login” for 127.0.0.1 at 2018-11-05 20:54:06 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.8ms)
Rendered users/sessions/new.html.erb within layouts/application (17.4ms)

Completed 200 OK in 89ms (Views: 82.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/4vut0GEwAhfQGx8nvhoW6Q/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-05 20:54:17 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (10.7ms)

Completed 200 OK in 83ms (Views: 76.9ms | ActiveRecord: 0.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 15:09:32 -0200

 (3.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (10.8ms)

Completed 200 OK in 2268ms (Views: 2234.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 15:09:38 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (490.4ms)
Rendered users/sessions/new.html.erb within layouts/application (605.3ms)

Completed 200 OK in 810ms (Views: 722.6ms | ActiveRecord: 38.8ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 15:09:40 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.7ms)

Completed 200 OK in 103ms (Views: 100.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 15:09:51 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BcX7iJz5LOpd1590Wt2xI/I0s2EC+mC5Z0EZ5fN9+AilZfxUVjS1iR8SC8tA5eRODc7YQt+JtkEzfq1lGAS0ug==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (299.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "1pEbBAmlTGJRxb_LBYB4cQ"], ["updated_at", "2018-11-07 17:09:51.746936"], ["id", 5]]
 (56.3ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-07 17:09:51.812659"], ["reset_sent_at", "2018-11-07 17:09:51.810772"], ["id", 5]]
 (60.9ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.9ms)

UserMailer#password_reset: processed outbound mail in 415.7ms Sent mail to andre_luisferreira@hotmail.com (3291.8ms) Date: Wed, 07 Nov 2018 15:09:52 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be31c604d1e0_4e39235945c19137@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be31c604ade5_4e39235945c190a8";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be31c604ade5_4e39235945c190a8 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be31c604ade5_4e39235945c190a8 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be31c604ade5_4e39235945c190a8–

Redirected to localhost:3000/login Completed 302 Found in 4264ms (ActiveRecord: 419.7ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 15:09:55 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.9ms)
Rendered users/sessions/new.html.erb within layouts/application (16.2ms)

Completed 200 OK in 86ms (Views: 83.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 15:10:13 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.9ms)
Rendered password_resets/edit.html.erb within layouts/application (15.9ms)

Completed 200 OK in 79ms (Views: 75.5ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ” for 127.0.0.1 at 2018-11-07 15:10:21 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cQkDfXmjqK0AVdl6BoRF3YG00jFjdNh41H+3Xk0iEt/4fyrSbIAmZePvgI0JxoLErCBrS30cayN63b1xVBdlHg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (8.4ms)

Completed 200 OK in 1187ms (Views: 48.6ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ” for 127.0.0.1 at 2018-11-07 15:10:34 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"c397OfLjjY4qgDadDK+PidoSPi9h7OT4wG0ysGIUAOz6CVKW58ADRsk6b2oD7UiQ94aHVX+EV6NuzzifeyF3LQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.9ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.4ms)
Rendered password_resets/edit.html.erb within layouts/application (6.0ms)

Completed 200 OK in 218ms (Views: 42.5ms | ActiveRecord: 1.6ms)

Started PATCH “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ” for 127.0.0.1 at 2018-11-07 15:10:43 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"O7NKrOUdttGwfH/saPmP5hQKRfpDHBCml5ijyBIBc0ayxWMD8D44GVPGJhtnu0j/OZ78gF10o/05OqnnCzQEhw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$zTsOukeqqtUGrgFT0U8wueyIfhZHhfRDgtaxMCjKKgGTKWG.Ebst."], ["updated_at", "2018-11-07 17:10:44.183739"], ["id", 5]]
 (60.1ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 262ms (ActiveRecord: 61.6ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 15:10:44 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (7.4ms)

Completed 200 OK in 50ms (Views: 47.9ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 15:10:50 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yOQHYqkIL/Kkh5wuh6mXUxlcEoQ9laWB58qf/ist2FZBki7NvCuhOkc9xdmI61BKNMir/iP9FtpJaJXRMhivlw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-07 17:10:50.505301"], ["last_sign_in_at", "2018-10-29 23:43:37.162371"], ["sign_in_count", 6], ["updated_at", "2018-11-07 17:10:50.506248"], ["id", 5]]
 (142.5ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 559ms (ActiveRecord: 144.6ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 15:10:50 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.0ms)
Rendered layouts/_header-user.html.erb (33.4ms)

Completed 200 OK in 92ms (Views: 89.4ms | ActiveRecord: 0.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-07 15:10:52 -0200 Processing by RoomsController#search_rooms as HTML

User Load (4.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (85.5ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 154ms (Views: 139.6ms | ActiveRecord: 4.8ms)

Started POST “/search-result” for 127.0.0.1 at 2018-11-07 15:11:04 -0200 Processing by RoomsController#search_result as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Yh3cOIgd9EnUC/bsucphqywyMQDWPHtRkNBFTfhCfPbXA1sAVbnJoMFrQnPAukgEabIsvHa1Bo4L7jik8cqXIg==", "date_search"=>"2018-11-07", "time_search"=>"6:00", "commit"=>"Buscar"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
Room Load (52.9ms)  SELECT "rooms".* FROM "rooms"
Room Load (313.0ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '2018-11-07' AND start_time = '6:00' AND status = 2)
Rendering rooms/search_result.html.erb within layouts/application
Rendered rooms/search_result.html.erb within layouts/application (9.9ms)
Rendered layouts/_header-user.html.erb (4.3ms)

Completed 200 OK in 551ms (Views: 84.2ms | ActiveRecord: 372.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-07 15:11:09 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"u9T3sk4nJklorw6t/Jm0K6FMibF1aVKZ2QdfnsGK+iz5FcR1zks/v4zz9mbK0XY4ZAC1izEttYRz274EDxB/aw=="}
User Load (3.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 5], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 52ms (ActiveRecord: 4.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 15:11:09 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.3ms)

Completed 200 OK in 70ms (Views: 68.1ms | ActiveRecord: 0.0ms)

 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.3ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (10.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$56rXQ9C0PVltGsBQ3Z7v2.Q6GhNJp9C6kJGK3sXmOmbh81w2ZEdWq"], ["created_at", "2018-11-07 17:28:54.969606"], ["updated_at", "2018-11-07 17:28:54.969606"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (10.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:54.982681"], ["updated_at", "2018-11-07 17:28:54.982681"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-07 15:28:55 -0200

 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:55.011021"], ["last_sign_in_at", "2018-11-07 17:28:55.011021"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:55.011678"], ["id", 6]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"4"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:15:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (1.1ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 4], ["LIMIT", 1]]
 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$fXS94PVjIkmZPkuK6otcgOayVrxprpKjBCPBIiCXEkqAKV5UV5y.."], ["created_at", "2018-11-07 17:28:55.591196"], ["updated_at", "2018-11-07 17:28:55.591196"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:55.593894"], ["updated_at", "2018-11-07 17:28:55.593894"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-07 15:28:55 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:55.597806"], ["last_sign_in_at", "2018-11-07 17:28:55.597806"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:55.598441"], ["id", 7]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"5"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:15:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$vuxjVU0fs3Um3nTmk56T.eFdbnJjG.lDDy4hvvCuNKpsRhJArjsRW"], ["created_at", "2018-11-07 17:28:55.980594"], ["updated_at", "2018-11-07 17:28:55.980594"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:55.983881"], ["updated_at", "2018-11-07 17:28:55.983881"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-07 15:28:55 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:55.988472"], ["last_sign_in_at", "2018-11-07 17:28:55.988472"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:55.989304"], ["id", 8]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "room_id"=>"6"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:30:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 6], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Apy5d1/KdW98xN7hqKTh1ewJZWmGWg8SX5KCLowWFQdc/mQ1L7Sp."], ["created_at", "2018-11-07 17:28:56.378034"], ["updated_at", "2018-11-07 17:28:56.378034"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:56.380901"], ["updated_at", "2018-11-07 17:28:56.380901"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-07 15:28:56 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:56.385152"], ["last_sign_in_at", "2018-11-07 17:28:56.385152"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:56.385841"], ["id", 9]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "room_id"=>"7"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:30:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$zudXMmU.Mo58EOxqxrae.OM7/S0Kjx8K9r1tjc8zKEa7eJquq/YHe"], ["created_at", "2018-11-07 17:28:56.778439"], ["updated_at", "2018-11-07 17:28:56.778439"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:56.781405"], ["updated_at", "2018-11-07 17:28:56.781405"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 8], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
SQL (12.0ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 10], ["room_id", 8], ["created_at", "2018-11-07 17:28:56.800460"], ["updated_at", "2018-11-07 17:28:56.800460"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/appointments/8” for 127.0.0.1 at 2018-11-07 15:28:56 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:56.815601"], ["last_sign_in_at", "2018-11-07 17:28:56.815601"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:56.816232"], ["id", 10]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"8"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 8], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-05' AND room_id = '8')
Rendered appointments/show.html.erb within layouts/application (67.9ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 362ms (Views: 358.5ms | ActiveRecord: 1.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$03qaeV4WGpE1d7m9PVABiO43bpZaXPN3w4rpPEASyh45mb1aFZbtq"], ["created_at", "2018-11-07 17:28:57.354226"], ["updated_at", "2018-11-07 17:28:57.354226"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:57.357385"], ["updated_at", "2018-11-07 17:28:57.357385"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 9], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 11], ["room_id", 9], ["created_at", "2018-11-07 17:28:57.363764"], ["updated_at", "2018-11-07 17:28:57.363764"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 9], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 11], ["room_id", 9], ["created_at", "2018-11-07 17:28:57.369733"], ["updated_at", "2018-11-07 17:28:57.369733"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-07 15:28:57 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:57.372841"], ["last_sign_in_at", "2018-11-07 17:28:57.372841"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:57.373440"], ["id", 11]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 11]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.1ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 66ms (Views: 41.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$germFgIIzovD.5T4bfoHp.IHnziskXvX9poZO5HN4NliTqRf6lUAe"], ["created_at", "2018-11-07 17:28:57.611991"], ["updated_at", "2018-11-07 17:28:57.611991"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:57.615037"], ["updated_at", "2018-11-07 17:28:57.615037"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 12], ["room_id", 10], ["created_at", "2018-11-07 17:28:57.621305"], ["updated_at", "2018-11-07 17:28:57.621305"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 12], ["room_id", 10], ["created_at", "2018-11-07 17:28:57.627119"], ["updated_at", "2018-11-07 17:28:57.627119"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-07 15:28:57 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:57.630308"], ["last_sign_in_at", "2018-11-07 17:28:57.630308"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:57.630891"], ["id", 12]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 12]]
Rendered appointments/my_appointments.html.erb within layouts/application (2.9ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 57ms (Views: 55.6ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$LrrMYx5.FoD8a7ZAnjzsSOQnYlfB86yoRpGwtkZybAjoUqo4FthTG"], ["created_at", "2018-11-07 17:28:57.854610"], ["updated_at", "2018-11-07 17:28:57.854610"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:57.857942"], ["updated_at", "2018-11-07 17:28:57.857942"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 13], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 13], ["room_id", 11], ["created_at", "2018-11-07 17:28:57.863914"], ["updated_at", "2018-11-07 17:28:57.863914"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/appointments/12” for 127.0.0.1 at 2018-11-07 15:28:57 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:57.867881"], ["last_sign_in_at", "2018-11-07 17:28:57.867881"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:57.868509"], ["id", 13]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#destroy as HTML

Parameters: {"id"=>"12"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:89:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 LIMIT $2  [["appointment_date", "22-06-2018"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dBMAaxkrnhngIg3snxxEmOSF1dotMbX5p5mlJgnPQrQDlgDMAHhPa"], ["created_at", "2018-11-07 17:28:58.291254"], ["updated_at", "2018-11-07 17:28:58.291254"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-07 15:28:58 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:58.295372"], ["last_sign_in_at", "2018-11-07 17:28:58.295372"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:58.295987"], ["id", 14]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML

Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (49.5ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 101ms (Views: 100.1ms | ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$hJqF3MbZO2UAcrVOBBs4RO12VhVNzmiVz7kPbMhEkQ5YUshSX0cL6"], ["created_at", "2018-11-07 17:28:58.570308"], ["updated_at", "2018-11-07 17:28:58.570308"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-07 15:28:58 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:58.573810"], ["last_sign_in_at", "2018-11-07 17:28:58.573810"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:58.574629"], ["id", 15]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML Redirected to www.example.com/ Filter chain halted as :is_admin? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$wvvWri2Bms8/W8FfTqDPs.LFmq7PVg8OhAVBLqKqLglPOyvKQGHf2"], ["created_at", "2018-11-07 17:28:58.742619"], ["updated_at", "2018-11-07 17:28:58.742619"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-11-07 15:28:58 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:58.746298"], ["last_sign_in_at", "2018-11-07 17:28:58.746298"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:58.746931"], ["id", 16]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.6ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 57ms (Views: 55.4ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$4Yqq5tB3ej9lxzwqvrn52u6pdNyJIXbZ9Put4LIgriWVL4Xbj3MBW"], ["created_at", "2018-11-07 17:28:58.971056"], ["updated_at", "2018-11-07 17:28:58.971056"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-11-07 15:28:58 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:58.974658"], ["last_sign_in_at", "2018-11-07 17:28:58.974658"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:58.975632"], ["id", 17]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (5.4ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 58ms (Views: 56.1ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Started GET “/rooms” for 127.0.0.1 at 2018-11-07 15:28:59 -0200 Processing by RoomsController#index as HTML Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$yKn.uuiMDasgWb8ybjedeOHbimpNrE5r6SDOw.SnSln54UtqryMbW"], ["created_at", "2018-11-07 17:28:59.211861"], ["updated_at", "2018-11-07 17:28:59.211861"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.215728"], ["updated_at", "2018-11-07 17:28:59.215728"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/12” for 127.0.0.1 at 2018-11-07 15:28:59 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:59.219852"], ["last_sign_in_at", "2018-11-07 17:28:59.219852"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:59.220626"], ["id", 18]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"12"}
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 50ms (Views: 47.5ms | ActiveRecord: 0.2ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Si3Y.QzUw0sqZU5arMrX2eTreJ8UAdbWJpqZvbdhraj0Bpkw3cHD2"], ["created_at", "2018-11-07 17:28:59.437484"], ["updated_at", "2018-11-07 17:28:59.437484"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.440342"], ["updated_at", "2018-11-07 17:28:59.440342"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/13” for 127.0.0.1 at 2018-11-07 15:28:59 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:59.443551"], ["last_sign_in_at", "2018-11-07 17:28:59.443551"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:59.444285"], ["id", 19]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"13"}
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 13], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.5ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 41ms (Views: 39.6ms | ActiveRecord: 0.2ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.492713"], ["updated_at", "2018-11-07 17:28:59.492713"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/14” for 127.0.0.1 at 2018-11-07 15:28:59 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"14"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$tlfqE5dtXvfbD6eNUveqFuPIMjmzpsHPkOi5UaOjn.Nab19OzeHke"], ["created_at", "2018-11-07 17:28:59.660260"], ["updated_at", "2018-11-07 17:28:59.660260"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.663106"], ["updated_at", "2018-11-07 17:28:59.663106"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/15/edit” for 127.0.0.1 at 2018-11-07 15:28:59 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:59.666296"], ["last_sign_in_at", "2018-11-07 17:28:59.666296"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:59.666889"], ["id", 20]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"15"}
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 15], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (4.7ms)
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 46ms (Views: 44.2ms | ActiveRecord: 0.2ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$tXTg7L3fBwgvUbHzB223wOaIroB0u.jLXWH0IlLPr00hug4V2YJTG"], ["created_at", "2018-11-07 17:28:59.879049"], ["updated_at", "2018-11-07 17:28:59.879049"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.881912"], ["updated_at", "2018-11-07 17:28:59.881912"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/16/edit” for 127.0.0.1 at 2018-11-07 15:28:59 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:28:59.885052"], ["last_sign_in_at", "2018-11-07 17:28:59.885052"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:28:59.885671"], ["id", 21]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"16"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 16], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 47ms (Views: 44.9ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:28:59.939218"], ["updated_at", "2018-11-07 17:28:59.939218"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/17” for 127.0.0.1 at 2018-11-07 15:28:59 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"17"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$qzxlXBnABYPLgaxrEujGpOIV6ici6CbfcjNZgtWNhx0I.aU.LBjk."], ["created_at", "2018-11-07 17:29:00.112807"], ["updated_at", "2018-11-07 17:29:00.112807"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:00 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:00.118767"], ["last_sign_in_at", "2018-11-07 17:29:00.118767"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:00.119539"], ["id", 22]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:120:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$E7q1b0aE86ziGYncF5fCSOjhRCFOaxnWm.GVyXm6lUvkGRJTjt1mC"], ["created_at", "2018-11-07 17:29:00.527083"], ["updated_at", "2018-11-07 17:29:00.527083"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:00 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:00.531322"], ["last_sign_in_at", "2018-11-07 17:29:00.531322"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:00.531895"], ["id", 23]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:120:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$hDAsESWlzs91ZpMkm8IRwuWIBYV4EbkwbpNmQwHriXgPt2a3cXJBy"], ["created_at", "2018-11-07 17:29:00.913770"], ["updated_at", "2018-11-07 17:29:00.913770"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:00 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:00.918562"], ["last_sign_in_at", "2018-11-07 17:29:00.918562"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:00.919323"], ["id", 24]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:133:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$r0AaMw4SlE47TOEj5U55He4svdd23nDGfkSuD4mb7.hMHj4Raz8TG"], ["created_at", "2018-11-07 17:29:01.294546"], ["updated_at", "2018-11-07 17:29:01.294546"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:01 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:01.299003"], ["last_sign_in_at", "2018-11-07 17:29:01.299003"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:01.299615"], ["id", 25]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:133:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$neqeM.gJUQPGUTRE7x.FSuvbnhfGwYHiGixnksKY0QNODVfuHLvRK"], ["created_at", "2018-11-07 17:29:01.672565"], ["updated_at", "2018-11-07 17:29:01.672565"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:01 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:01.677192"], ["last_sign_in_at", "2018-11-07 17:29:01.677192"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:01.677887"], ["id", 26]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:149:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.pq11hZh2y4.3z0zqkYDiuOLY25Ls.rG21GIZ8iHvJNapgIcrNuqO"], ["created_at", "2018-11-07 17:29:02.035972"], ["updated_at", "2018-11-07 17:29:02.035972"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:02.038811"], ["updated_at", "2018-11-07 17:29:02.038811"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/18” for 127.0.0.1 at 2018-11-07 15:29:02 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:02.042651"], ["last_sign_in_at", "2018-11-07 17:29:02.042651"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:02.043369"], ["id", 27]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location"}, "id"=>"18"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:168:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "New Fake Name"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$h4r6noQ9cw6/.iqFWQ/GzO57BhGHH1FQrzOObzzfHymrFw16Z1IB2"], ["created_at", "2018-11-07 17:29:02.414169"], ["updated_at", "2018-11-07 17:29:02.414169"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:02.417008"], ["updated_at", "2018-11-07 17:29:02.417008"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/19” for 127.0.0.1 at 2018-11-07 15:29:02 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:02.420899"], ["last_sign_in_at", "2018-11-07 17:29:02.420899"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:02.421629"], ["id", 28]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location"}, "id"=>"19"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:168:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7kwPgdw9PTbL47RnAhQ94.BThTPlbTY58N3VaOCwVxzJskJQCh4t2"], ["created_at", "2018-11-07 17:29:02.795889"], ["updated_at", "2018-11-07 17:29:02.795889"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:02.799299"], ["updated_at", "2018-11-07 17:29:02.799299"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/20” for 127.0.0.1 at 2018-11-07 15:29:02 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:02.803662"], ["last_sign_in_at", "2018-11-07 17:29:02.803662"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:02.804478"], ["id", 29]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location"}, "id"=>"20"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:182:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Ao51sWOu23iPwhH5zia/kei0oKGkRKgaHwt0zTJHPNBXUoP1W7viq"], ["created_at", "2018-11-07 17:29:03.181822"], ["updated_at", "2018-11-07 17:29:03.181822"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:03.184716"], ["updated_at", "2018-11-07 17:29:03.184716"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/21” for 127.0.0.1 at 2018-11-07 15:29:03 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:03.188729"], ["last_sign_in_at", "2018-11-07 17:29:03.188729"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:03.189376"], ["id", 30]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location"}, "id"=>"21"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:182:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$JGLUWormW9BoL9Jqy2X8GODlBEvIaW7/WF6skGz3YVieI.UEn1Gqi"], ["created_at", "2018-11-07 17:29:03.565340"], ["updated_at", "2018-11-07 17:29:03.565340"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-11-07 15:29:03 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:03.569718"], ["last_sign_in_at", "2018-11-07 17:29:03.569718"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:03.570344"], ["id", 31]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:198:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$h/5kHLRntM1jmuE05ZRNS.Ptew/Loyu84.cBcQF2ddaVCCqHQuory"], ["created_at", "2018-11-07 17:29:03.934096"], ["updated_at", "2018-11-07 17:29:03.934096"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:03.937110"], ["updated_at", "2018-11-07 17:29:03.937110"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/22” for 127.0.0.1 at 2018-11-07 15:29:03 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:03.940726"], ["last_sign_in_at", "2018-11-07 17:29:03.940726"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:03.941410"], ["id", 32]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"22"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:212:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sRmryIkURXSJUdYmtfwaI.sFZy7zy8F2NSNMSxyKDEimFkjsfIVu6"], ["created_at", "2018-11-07 17:29:04.304079"], ["updated_at", "2018-11-07 17:29:04.304079"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:04.306587"], ["updated_at", "2018-11-07 17:29:04.306587"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/23” for 127.0.0.1 at 2018-11-07 15:29:04 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:04.309372"], ["last_sign_in_at", "2018-11-07 17:29:04.309372"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:04.309948"], ["id", 33]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"23"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:212:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Kba9FkShWvC7xGujgQ.Wd.PO7RXFX2YI2GMdihQ/IBOdg6k2i6HYK"], ["created_at", "2018-11-07 17:29:04.687146"], ["updated_at", "2018-11-07 17:29:04.687146"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:04.690946"], ["updated_at", "2018-11-07 17:29:04.690946"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/24” for 127.0.0.1 at 2018-11-07 15:29:04 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:04.694886"], ["last_sign_in_at", "2018-11-07 17:29:04.694886"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:04.695713"], ["id", 34]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"24"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:226:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$z4HX8ibZd4ps3swNMOvK4O7fX3iVQx840Zqx65tmzyef8IJ0IAaQ."], ["created_at", "2018-11-07 17:29:05.059701"], ["updated_at", "2018-11-07 17:29:05.059701"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:05.062822"], ["updated_at", "2018-11-07 17:29:05.062822"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/25” for 127.0.0.1 at 2018-11-07 15:29:05 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:05.066242"], ["last_sign_in_at", "2018-11-07 17:29:05.066242"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:05.066952"], ["id", 35]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"25"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:226:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Rp5vUehfBT/u2IDky1MNVOVIi8.FIeFQ6FYtWu7ySclx0wyIuPpgG"], ["created_at", "2018-11-07 17:29:05.429436"], ["updated_at", "2018-11-07 17:29:05.429436"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-07 15:29:05 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:05.432874"], ["last_sign_in_at", "2018-11-07 17:29:05.432874"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:05.433458"], ["id", 36]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_rooms as HTML

Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.0ms)
Rendered layouts/_header-user.html.erb (12.2ms)

Completed 200 OK in 52ms (Views: 51.4ms | ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cE9Hxs8FaE2lHXOv0Z0ctONaYl65jWTY94pZdu22exJ9OpCK.wyau"], ["created_at", "2018-11-07 17:29:05.655155"], ["updated_at", "2018-11-07 17:29:05.655155"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:05.658119"], ["updated_at", "2018-11-07 17:29:05.658119"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:05.660545"], ["updated_at", "2018-11-07 17:29:05.660545"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:05.663009"], ["updated_at", "2018-11-07 17:29:05.663009"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 26], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 37], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 37], ["room_id", 26], ["created_at", "2018-11-07 17:29:05.668924"], ["updated_at", "2018-11-07 17:29:05.668924"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/search-result” for 127.0.0.1 at 2018-11-07 15:29:05 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:05.672214"], ["last_sign_in_at", "2018-11-07 17:29:05.672214"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:05.672818"], ["id", 37]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML

Parameters: {"date_search"=>"22-06-2018", "time_search"=>"10:00:00"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:265:in `block (6 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '22-06-2018' AND start_time = '10:00:00' AND status = 2)
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$WZ3Oj4fwGxI/2RaTFYThG.rkVq6zR9KNsAHWcK/7p26DDQ7iTsz7y"], ["created_at", "2018-11-07 17:29:06.062797"], ["updated_at", "2018-11-07 17:29:06.062797"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:06.065629"], ["updated_at", "2018-11-07 17:29:06.065629"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:06.067823"], ["updated_at", "2018-11-07 17:29:06.067823"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-07 17:29:06.070377"], ["updated_at", "2018-11-07 17:29:06.070377"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 29], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 38], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 38], ["room_id", 29], ["created_at", "2018-11-07 17:29:06.076484"], ["updated_at", "2018-11-07 17:29:06.076484"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/search-result” for 127.0.0.1 at 2018-11-07 15:29:06 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-07 17:29:06.079783"], ["last_sign_in_at", "2018-11-07 17:29:06.079783"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-07 17:29:06.080459"], ["id", 38]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML

Parameters: {"date_search"=>nil, "time_search"=>nil}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:275:in `block (6 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.3ms

 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 0.4ms

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 1.5ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 1.4ms

 (0.2ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$SJ6BHpwMCF.fUpvLqHYfHe.pU3C7GZvvr3DR1X8KuKKt.yQtsU7Hq"], ["created_at", "2018-11-07 17:39:08.917943"], ["updated_at", "2018-11-07 17:39:08.917943"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.8ms)

UserMailer#password_reset: processed outbound mail in 14.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Hj7XGn5MMPrIB/eKFoonku3z6nKSuMZM2eYbRJe2WkZcP.qorQHSa"], ["created_at", "2018-11-07 17:39:09.104581"], ["updated_at", "2018-11-07 17:39:09.104581"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)

UserMailer#password_reset: processed outbound mail in 6.0ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3w9UqmlZm/phvpTcEy670uAcpFXCc8bEfIM1SqJPrEx0O9GLDT09O"], ["created_at", "2018-11-07 17:40:46.740294"], ["updated_at", "2018-11-07 17:40:46.740294"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (3.1ms)

UserMailer#password_reset: processed outbound mail in 10.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cUu83KqbfUxUf0TmfZRgL.P02DJztFe0YCP0nUjS511iZxL64PjBW"], ["created_at", "2018-11-07 17:40:46.918111"], ["updated_at", "2018-11-07 17:40:46.918111"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)

UserMailer#password_reset: processed outbound mail in 6.7ms

 (0.4ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Cglgex/Bkpc2wkgGpBlaH./dsOuxiQ3/RiEpEBSaIg8mXyI6SSA56"], ["created_at", "2018-11-07 17:44:02.745298"], ["updated_at", "2018-11-07 17:44:02.745298"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (3.1ms)

UserMailer#password_reset: processed outbound mail in 10.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$LwvWdZs5OB6t9q1X3rwySeCJTcZyD5K0yXaQ4pa6tcp03KyDhTyM2"], ["created_at", "2018-11-07 17:44:02.923332"], ["updated_at", "2018-11-07 17:44:02.923332"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.1ms)

UserMailer#password_reset: processed outbound mail in 6.2ms

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$QtZmNlszxi6DMspcv2DJZ.G9Svrav0tzSIaLBPqUNDRJFlpBpSyyi"], ["created_at", "2018-11-07 17:45:31.460810"], ["updated_at", "2018-11-07 17:45:31.460810"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 11.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$T0PbL6YSVNHZLGSYjERDderGy9Mg.oMoCMkvwFZEhkJdAIIk/suPC"], ["created_at", "2018-11-07 17:45:31.643786"], ["updated_at", "2018-11-07 17:45:31.643786"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 7.8ms

 (0.3ms)  ROLLBACK

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 15:46:14 -0200

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (8.2ms)
Rendered password_resets/edit.html.erb within layouts/application (235.9ms)

Completed 200 OK in 394ms (Views: 347.3ms | ActiveRecord: 6.3ms)

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$tIUx2KvBWROrabCsIm24L.bYWa9WJlDZg1TtU8P8Rf28ncJsoGdva"], ["created_at", "2018-11-07 17:46:41.039605"], ["updated_at", "2018-11-07 17:46:41.039605"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$MV7ivwHq3XJGDr9FEsXJ/eqX93gV4gfJPmuL.O2W8LFnXLt.Waedm"], ["created_at", "2018-11-07 17:46:41.219366"], ["updated_at", "2018-11-07 17:46:41.219366"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.1ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ZrHTcBiTywUX67IJquHSkupm0BevS6XaBl3LBn.Z6gEfKHKK/kf0m"], ["created_at", "2018-11-07 17:47:35.147061"], ["updated_at", "2018-11-07 17:47:35.147061"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$jfSipd.mVoBFEEjfZMtBQ.6KRJvy1/xgyzsfV/JWET0Ajr//dOf0K"], ["created_at", "2018-11-07 17:47:35.337517"], ["updated_at", "2018-11-07 17:47:35.337517"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 7.8ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$G7he9s/xGU4afIykDAaAje94JEbUnj8Eo.MAGvaZpn2f2qtcxfI.2"], ["created_at", "2018-11-07 17:48:35.873996"], ["updated_at", "2018-11-07 17:48:35.873996"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eIH0T3iKCeYrQAcSA1wMMewPaslkTqOU1mdXoQw3l6sKCzEiKhqMK"], ["created_at", "2018-11-07 17:48:36.071348"], ["updated_at", "2018-11-07 17:48:36.071348"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.5ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 12.4ms

 (0.6ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$/tybQ2YGvStBskgtzQaGeOoPlwCIe/92yT4Cqgssw.PuQBEGN8Qhm"], ["created_at", "2018-11-07 17:52:28.646571"], ["updated_at", "2018-11-07 17:52:28.646571"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 12.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$MAWr3AjgAXqV0fJqb.TO5OO0aAXyZMQL54Tky4ZJDzNLT/IbWow/2"], ["created_at", "2018-11-07 17:52:28.826977"], ["updated_at", "2018-11-07 17:52:28.826977"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sbjsWgtxyT99l/GmrkFIWe91YxmugSxe5tDts9TERI4YJ0nZEBhuO"], ["created_at", "2018-11-07 17:53:46.068272"], ["updated_at", "2018-11-07 17:53:46.068272"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 23.2ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$0ZDkuRCzyYbde6R/axKK/uMpS7iqsERgUhfRQg5S65AGGE0eJH7Km"], ["created_at", "2018-11-07 17:53:46.266529"], ["updated_at", "2018-11-07 17:53:46.266529"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cP92vwABh0WVh4d9gjL3guzC7g3AWe5G8yJ70UarO/seQs6aYqav2"], ["created_at", "2018-11-07 17:54:23.765154"], ["updated_at", "2018-11-07 17:54:23.765154"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 13.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ecb.JUQMrD9fVlEFPPR7S.v24OqaqrUOYdvADfZ5ywnrCrfCiNJmy"], ["created_at", "2018-11-07 17:54:23.950733"], ["updated_at", "2018-11-07 17:54:23.950733"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Bx0YS3WOhyfRh.qNp62IdesB5RH.A5bDu4UgFewoV8Xwk8ojFhy3."], ["created_at", "2018-11-07 18:25:45.857225"], ["updated_at", "2018-11-07 18:25:45.857225"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Uiuuf5eKtbxIiOxYewfFGO2ZFhcAnF4nixZ6i8QFMOme2C/LtN2gG"], ["created_at", "2018-11-07 18:25:46.040036"], ["updated_at", "2018-11-07 18:25:46.040036"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$owlcHQ4KZp6.DSB6SCotq.S56npmAjLF8TsUuiQkIDSIl9/oAnFQ6"], ["created_at", "2018-11-07 18:26:18.144914"], ["updated_at", "2018-11-07 18:26:18.144914"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$9f6pafPRwBVFVOXnaOtHsO9sgAw9AS4NTKx7foYMh9RAuL844ye12"], ["created_at", "2018-11-07 18:26:18.326376"], ["updated_at", "2018-11-07 18:26:18.326376"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$zB6HzLa3/dAbj5AAnL/jieB/pjDd.cpLyjX9N06.Cy0UjUZL8J/Ei"], ["created_at", "2018-11-07 18:27:41.991392"], ["updated_at", "2018-11-07 18:27:41.991392"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3DaSTh.f/XDZ61IG4b/8TuvqBIa41XaxUbaArbgHHN6pN4Foe.rf."], ["created_at", "2018-11-07 18:27:42.177036"], ["updated_at", "2018-11-07 18:27:42.177036"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$9QuZ2Rv9bnmBfGasqXmFHeYJSQslXie438BudRvkBX5JWDSwNqYt."], ["created_at", "2018-11-07 18:29:07.123234"], ["updated_at", "2018-11-07 18:29:07.123234"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 14.1ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$rf5b.6PuV/3SVRoEde2kce3SXm5XyyOyAYqVk2.GyGPOIb1ak.XHi"], ["created_at", "2018-11-07 18:29:07.339630"], ["updated_at", "2018-11-07 18:29:07.339630"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$4uPR07E5YQI0YIe19.fHuuIR44gQxih3EZPlt/0ulYW16FfiOy2.."], ["created_at", "2018-11-07 18:29:39.987097"], ["updated_at", "2018-11-07 18:29:39.987097"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$/.Z1lDhZUNd2nZfPR.8BL.NjpAgtSoohKAoeBs8YbuLfhizjPg3Je"], ["created_at", "2018-11-07 18:29:40.169008"], ["updated_at", "2018-11-07 18:29:40.169008"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$F32lOBtjamvbxOes7MZfY.8OZt80tSclMrkn/Kg73S3nP5h5vjJKe"], ["created_at", "2018-11-07 18:30:24.788224"], ["updated_at", "2018-11-07 18:30:24.788224"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 14.2ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$nBABVAGGMKQymfbBfawRt.ZViX7N0SLDJAHN.0fOPidyTeJWMsYQy"], ["created_at", "2018-11-07 18:30:24.974230"], ["updated_at", "2018-11-07 18:30:24.974230"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$CKrp.THznELmr1KgygZ8aOUeYt2hhKiXHrHDbjZxFvP6SwOTPowna"], ["created_at", "2018-11-07 18:31:46.914807"], ["updated_at", "2018-11-07 18:31:46.914807"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (57.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 271.4ms

 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.5ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@unb.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre@unb.br"], ["encrypted_password", "$2a$11$S.nPXFyc2Lgarr5f2FO9IuCo2NSW3tx9krAto5Gi/RiUZBi9AlWNe"], ["created_at", "2018-11-07 18:34:27.069425"], ["updated_at", "2018-11-07 18:34:27.069425"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (56.5ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 249.8ms

 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@unb.br"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

DEPRECATION WARNING: Looking up factories by class is deprecated and will be removed in 5.0. Use symbols instead and set FactoryBot.allow_class_lookup = false (called from block (3 levels) in <top (required)> at /home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/spec/controllers/password_resets_controller_spec.rb:5)

 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

DEPRECATION WARNING: Looking up factories by class is deprecated and will be removed in 5.0. Use symbols instead and set FactoryBot.allow_class_lookup = false (called from block (3 levels) in <top (required)> at /home/andre/Documents/UnB/ES/TrabFinal/Reserva-de-Salas/spec/controllers/password_resets_controller_spec.rb:6)

 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (30.8ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (713.5ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_test"
 (4541.1ms)  CREATE DATABASE "Reserva-de-Salas_test" ENCODING = 'unicode'
SQL (0.8ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.5ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (329.5ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (222.9ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (304.5ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.6ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (508.2ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (536.7ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (239.1ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (239.2ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (497.7ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (2.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (49.9ms)  INSERT INTO "schema_migrations" (version) VALUES (20181028154228)
 (55.1ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625);



 (507.7ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (0.8ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.8ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-07 18:40:00.019247"], ["updated_at", "2018-11-07 18:40:00.019247"]]
 (56.5ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.8ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.6ms)  UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3  [["value", "test"], ["updated_at", "2018-11-07 18:40:00.090705"], ["key", "environment"]]
 (51.2ms)  COMMIT
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (1277.8ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_test"
 (2710.7ms)  CREATE DATABASE "Reserva-de-Salas_test" ENCODING = 'unicode'
SQL (0.6ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.6ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (335.3ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (247.5ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (249.0ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.5ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (497.2ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (492.7ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (250.8ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (252.2ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (486.5ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (51.5ms)  INSERT INTO "schema_migrations" (version) VALUES (20181028154228)
 (54.5ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625);



 (508.3ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (0.9ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.9ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-07 18:40:19.393567"], ["updated_at", "2018-11-07 18:40:19.393567"]]
 (54.4ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.6ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.9ms)  UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3  [["value", "test"], ["updated_at", "2018-11-07 18:40:19.464756"], ["key", "environment"]]
 (58.3ms)  COMMIT
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@unb.br"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@unb.br"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@unb.br"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.5ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (675.5ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_test"
 (2622.5ms)  CREATE DATABASE "Reserva-de-Salas_test" ENCODING = 'unicode'
SQL (0.7ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.5ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (346.7ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (247.6ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (250.6ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.5ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (465.2ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (482.3ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (236.7ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (295.4ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (474.2ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (2.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (49.9ms)  INSERT INTO "schema_migrations" (version) VALUES (20181028154228)
 (55.2ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625);



 (464.1ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (0.9ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.9ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-07 20:57:39.597559"], ["updated_at", "2018-11-07 20:57:39.597559"]]
 (57.6ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.6ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.8ms)  UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3  [["value", "test"], ["updated_at", "2018-11-07 20:57:39.668812"], ["key", "environment"]]
 (51.8ms)  COMMIT
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.4ms)  BEGIN
User Exists (2.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.comm"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.comm"], ["encrypted_password", "$2a$11$NsQbv.4riGBezINCsM6c6e//ih6Sx0Cb94oRUFebbC3rkuxLgOaBC"], ["created_at", "2018-11-07 21:01:43.546973"], ["updated_at", "2018-11-07 21:01:43.546973"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (60.0ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 270.4ms

 (0.4ms)  BEGIN
User Exists (2.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.comm"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK

UserMailer#password_reset: processed outbound mail in 4.6ms

 (0.2ms)  BEGIN
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 3.0ms

 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 2.0ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN

UserMailer#password_reset: processed outbound mail in 2.5ms

 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (25.9ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.2ms)  COMMIT
 (0.2ms)  BEGIN
 (0.3ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.9ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.2ms)  COMMIT
 (0.2ms)  BEGIN
Fixture Delete (0.6ms)  DELETE FROM "users"
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.2ms)  BEGIN
Fixture Delete (0.3ms)  DELETE FROM "users"
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.5ms)  DELETE FROM "users"
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.3ms)  DELETE FROM "users"
 (1.4ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.6ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.5ms)  DELETE FROM "users"
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.2ms)  DELETE FROM "users"
 (0.1ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.6ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.4ms)  DELETE FROM "users"
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.2ms)  DELETE FROM "users"
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.2ms)  BEGIN
 (0.2ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.7ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
 (0.3ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.4ms)  DELETE FROM "users"
Fixture Insert (0.3ms)  INSERT INTO "users" ("email", "username", "registration", "course", "is_admin", "created_at", "updated_at", "id") VALUES ('andre@unb.br', 'Andre Luis', '150115464', 'Engenharia Computacao', 'f', '2018-11-07 22:12:39.636000', '2018-11-07 22:12:39.636000', 293267324)
 (55.5ms)  COMMIT
 (0.3ms)  BEGIN
 (0.5ms)  ALTER TABLE "rooms" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "appointments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
 (0.3ms)  COMMIT
 (0.3ms)  BEGIN
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267324], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.5ms)  DELETE FROM "users"
Fixture Insert (0.3ms)  INSERT INTO "users" ("email", "username", "registration", "course", "is_admin", "created_at", "updated_at", "id") VALUES ('andre@unb.br', 'Andre Luis', '150115464', 'Engenharia Computacao', 'f', '2018-11-07 22:13:38.930234', '2018-11-07 22:13:38.930234', 293267324)
 (66.5ms)  COMMIT
 (0.1ms)  BEGIN
 (0.2ms)  ALTER TABLE "rooms" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "appointments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.2ms)  BEGIN
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267324], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267324], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (3.2ms)

UserMailer#password_reset: processed outbound mail in 12.8ms

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.2ms)  BEGIN
Fixture Delete (0.4ms)  DELETE FROM "users"
Fixture Insert (0.5ms)  INSERT INTO "users" ("email", "username", "registration", "course", "is_admin", "created_at", "updated_at", "id") VALUES ('andre@unb.br', 'Andre Luis', '150115464', 'Engenharia Computacao', 'f', '2018-11-07 22:14:02.867246', '2018-11-07 22:14:02.867246', 293267324)
 (61.3ms)  COMMIT
 (0.2ms)  BEGIN
 (0.3ms)  ALTER TABLE "rooms" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "appointments" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267324], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (4.9ms)

UserMailer#password_reset: processed outbound mail in 18.3ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267324], ["LIMIT", 1]]
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.5ms)

UserMailer#password_reset: processed outbound mail in 10.0ms

 (0.2ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.6ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.3ms)  BEGIN
Fixture Delete (0.5ms)  DELETE FROM "users"
 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  ALTER TABLE "rooms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "appointments" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL
 (0.1ms)  COMMIT
 (0.1ms)  BEGIN
Fixture Delete (0.2ms)  DELETE FROM "users"
 (0.1ms)  ROLLBACK
 (1.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$GVj7d3bxoYfI0zBPH0VeROt7ftnlWCGueDNUsCBXMnUebLrKoQ9Rm"], ["created_at", "2018-11-07 22:17:36.844345"], ["updated_at", "2018-11-07 22:17:36.844345"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 264.3ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$CTuQAvECY/p/QOL0ewNrae.7VB4nncoSd9B9lg1ZUV0lVjbbwCTiW"], ["created_at", "2018-11-07 22:17:37.287576"], ["updated_at", "2018-11-07 22:17:37.287576"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$MXQSLQ30XUIRSrBLghX.Zu58HXyPVVb6wsUoai03c/p41VjU.qwHO"], ["created_at", "2018-11-07 22:17:43.304325"], ["updated_at", "2018-11-07 22:17:43.304325"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.8ms

 (0.6ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$7lLrcQkNbDO/eoH0X0d0.e/y0RQoPH/AL5M4AW88tfaHGnv.PuyPq"], ["created_at", "2018-11-07 22:17:43.739219"], ["updated_at", "2018-11-07 22:17:43.739219"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (1.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$FQClpoVEnnTIMWummm5yT.bO1UnbE8bpdyHUxRr3Dupeqn0eTRn2S"], ["created_at", "2018-11-07 22:18:08.337889"], ["updated_at", "2018-11-07 22:18:08.337889"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 263.8ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$utYtAEjetxmttWjaKUHkHuU8uS4J0UVesopXBpwCMf9JCDqDLHDMa"], ["created_at", "2018-11-07 22:18:08.773264"], ["updated_at", "2018-11-07 22:18:08.773264"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$DGixXBcMrT.Ie3GUhHrjGOXuZ2ce2jqxj9x1pN1YMFy5A35gtMHQa"], ["created_at", "2018-11-07 22:18:15.743121"], ["updated_at", "2018-11-07 22:18:15.743121"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 254.4ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$5BZ1LQOv8Vk1BSp0.fgJLuG4FduCm0LGs2IUYtTdYvIYrdhJZzLXK"], ["created_at", "2018-11-07 22:18:16.166708"], ["updated_at", "2018-11-07 22:18:16.166708"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.5ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$1K63K.kr4ml.Yo4Q/YPnz.3YHcbFRyXHfynovBbrU.CsSHg8eKxHu"], ["created_at", "2018-11-07 22:18:24.772184"], ["updated_at", "2018-11-07 22:18:24.772184"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 256.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$ovqZyeYzOuqdknh/oEzI7edx5ZR1/uKRYCJj7kjre43u9hQbi/uQm"], ["created_at", "2018-11-07 22:18:25.197143"], ["updated_at", "2018-11-07 22:18:25.197143"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$B8FZgM9EVL70ANSZSlomdu1g0K7fxaKfKEX4WvtLy08XYkj2P9.C."], ["created_at", "2018-11-07 22:18:29.820796"], ["updated_at", "2018-11-07 22:18:29.820796"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 254.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$iI56Ik2cdMc8T2bt8d0U7eiv95e6mX7yvH.HNW6bS/pO/DgW2IDia"], ["created_at", "2018-11-07 22:18:30.243903"], ["updated_at", "2018-11-07 22:18:30.243903"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.3ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$IbdhpN327Prx.eO4s9jhJe9WiJYSl9ZiwozYctaOGNcQuqKul4COe"], ["created_at", "2018-11-07 22:18:43.156501"], ["updated_at", "2018-11-07 22:18:43.156501"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.4ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$esbrtvCHVtzP6g.db55kTemeB3tX663.95t8rlOcswoEWCDdR4oyq"], ["created_at", "2018-11-07 22:18:43.587448"], ["updated_at", "2018-11-07 22:18:43.587448"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$VXIVEPqBPWCsmvaOidEdS.6cIZTIzElp4yDoF87GU/HchscAowro6"], ["created_at", "2018-11-07 22:18:51.958108"], ["updated_at", "2018-11-07 22:18:51.958108"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (64.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.9ms)

UserMailer#password_reset: processed outbound mail in 315.4ms

 (0.2ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "1233@1233.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "1233@1233.com"], ["encrypted_password", "$2a$11$T7NXvWfTLvgo7mCE9x9tquhIBqPBYsxJNt8OTHor3HuSUzovv9wTS"], ["created_at", "2018-11-07 22:19:42.608455"], ["updated_at", "2018-11-07 22:19:42.608455"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 264.3ms

 (0.6ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "1233@1233.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "1233@1233.com"], ["encrypted_password", "$2a$11$VSzksdgmdGwn8fOQ2TLfhOloBRxLuLqX6x8XZ4pV2q05SM3Gzvw7e"], ["created_at", "2018-11-07 22:19:43.041904"], ["updated_at", "2018-11-07 22:19:43.041904"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.1ms

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "1233@1233.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "1233@1233.com"], ["encrypted_password", "$2a$11$WEB9qLDBfDiFEW.E5yiZk.7RHON/V9XQTINYQ0X2B9tlreYDpmeyW"], ["created_at", "2018-11-07 22:19:47.385693"], ["updated_at", "2018-11-07 22:19:47.385693"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "1233@1233.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "1233@1233.com"], ["encrypted_password", "$2a$11$OdprBSxIx86leDfesKHqO.qeOVQynxktPezRyuHYnUriGJM2UDrFe"], ["created_at", "2018-11-07 22:19:47.806406"], ["updated_at", "2018-11-07 22:19:47.806406"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.5ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$HfD.W8k9orpAnB7yC797huKkf/7mXWgNlcVJWYDx6WXamelt4JIMG"], ["created_at", "2018-11-07 22:20:56.570869"], ["updated_at", "2018-11-07 22:20:56.570869"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 289.6ms

 (0.6ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3VbT06va7B1/rWZXV2pwTu6PQY1xUJ04S7NMoTKrpNVJxl.n71g6G"], ["created_at", "2018-11-07 22:20:57.033413"], ["updated_at", "2018-11-07 22:20:57.033413"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.3ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$H5vTyCuACNQBPIg7y749o.arpFxAwUHRlBVdf3V.RdtyrPHqRGlVO"], ["created_at", "2018-11-07 22:21:48.531568"], ["updated_at", "2018-11-07 22:21:48.531568"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 247.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pHwNhwO/yr5/3XavDMqC5uCfge3gcyAdzxnnmNtrGaNG9.JH/FeCO"], ["created_at", "2018-11-07 22:21:48.951191"], ["updated_at", "2018-11-07 22:21:48.951191"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$e6LAmTc0OOQHCVYtQeObuuIb/9g/G1fHA3N7Cr9Tl5vBMUG6o0oQ6"], ["created_at", "2018-11-07 22:21:49.129671"], ["updated_at", "2018-11-07 22:21:49.129671"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$t40uKrGXi1r2sSOSzwy0SeHK/mM/tcOSKymbnTdwZjXsWSlePCH1K"], ["created_at", "2018-11-07 22:21:49.305852"], ["updated_at", "2018-11-07 22:21:49.305852"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$wx2yYTJMDwUdMZObaAIlRe93pRQ/zheQITXsSZPNhaIwguJvdVT12"], ["created_at", "2018-11-07 22:26:28.657911"], ["updated_at", "2018-11-07 22:26:28.657911"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 260.4ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$s.tsUyOuJ06iyyLONOwwdOqyvLQ0x9YTgW.vQ6IKBLE29Ec7U12Rq"], ["created_at", "2018-11-07 22:26:29.141413"], ["updated_at", "2018-11-07 22:26:29.141413"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ZzV6FgQeyjIynrd2SGFgYeK4IAXsHu0w9pRle4krCnR.eJr9NOZSe"], ["created_at", "2018-11-07 22:26:29.319513"], ["updated_at", "2018-11-07 22:26:29.319513"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$WPqjKNpKBG9w5InXQTnkVeme1.11BGCrsnEY3EHpgY0B1mPLSju2C"], ["created_at", "2018-11-07 22:26:29.493398"], ["updated_at", "2018-11-07 22:26:29.493398"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$OD/35rvTS/xc4yy5Gxy3q.4zAzadYZhvN6.RWxJLrNI4mmg063Yx6"], ["created_at", "2018-11-07 22:58:50.784714"], ["updated_at", "2018-11-07 22:58:50.784714"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 264.8ms

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$PQ6vgf5VgyzfFYpk.UHJBOtSE340o8I.GEagYEft3z9Od8Y43Mlxm"], ["created_at", "2018-11-07 22:58:51.275137"], ["updated_at", "2018-11-07 22:58:51.275137"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$6jDa2xK4LEhILDZYsZc5wOqg1Aibsdq.AQbm5UjS8sOFRkCObF.Fy"], ["created_at", "2018-11-07 22:58:51.456833"], ["updated_at", "2018-11-07 22:58:51.456833"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$D/4LenciPqITrvqqkuZmX.ZynjgsA/1DbsuOtT4oGjz5TavXlCM/C"], ["created_at", "2018-11-07 22:58:51.631181"], ["updated_at", "2018-11-07 22:58:51.631181"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$gNKIA0q.2G2hliUG/aRP7eRGcFeij8k1qjbqk0lURPqoXqdNcZSly"], ["created_at", "2018-11-07 22:59:20.462080"], ["updated_at", "2018-11-07 22:59:20.462080"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 246.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$xn2tduDreDAgBiX12VuLXO2.36By6qRN3Hae9YhbXiHnlLESqT3ta"], ["created_at", "2018-11-07 22:59:20.881645"], ["updated_at", "2018-11-07 22:59:20.881645"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$QHiMCRRxoygZa4UMZvnVeO1zBCGCCFJnVexCALkdFTr5f5BGOoAVy"], ["created_at", "2018-11-07 22:59:21.072889"], ["updated_at", "2018-11-07 22:59:21.072889"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$nONjp8A.f1TPmA/hUFoBP.JQESvqIAwBAqQg4KGJWdkdKcxymi0OS"], ["created_at", "2018-11-07 22:59:21.251626"], ["updated_at", "2018-11-07 22:59:21.251626"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZbINZKIArIfPXulXg8dtUuZnUaWScILuHN3EABfvZGEj6EhU5Ncy6"], ["created_at", "2018-11-07 23:00:15.554680"], ["updated_at", "2018-11-07 23:00:15.554680"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 265.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$GI4fW8htBWrfTUNxnDStbuQZTp4tpG5GUr9Dhf5yAk2GtIC9dmTa."], ["created_at", "2018-11-07 23:00:15.992119"], ["updated_at", "2018-11-07 23:00:15.992119"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.8ms)

UserMailer#password_reset: processed outbound mail in 14.1ms

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TdUJJ/0Y5eaN.J51T.V37eP8wWhhXawsXMx9AEpiImx27DdChqMIa"], ["created_at", "2018-11-07 23:00:16.183910"], ["updated_at", "2018-11-07 23:00:16.183910"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HjOPusrMHAL01/EGidj6AunAnLv7r5fah/O8YtitiUX.JrRIFQWV6"], ["created_at", "2018-11-07 23:00:16.358460"], ["updated_at", "2018-11-07 23:00:16.358460"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$XlhHTMxuBwXgSIQBDd6Jw.luz.zxrPBHFvdV0Au98igZ7te8q4LZu"], ["created_at", "2018-11-07 23:03:07.053298"], ["updated_at", "2018-11-07 23:03:07.053298"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 265.5ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lVGwZ9R8YMhWNMJg7feUiemhB4KvvPkJG2Bl.XFs5M54KtEhN9U3i"], ["created_at", "2018-11-07 23:03:07.529847"], ["updated_at", "2018-11-07 23:03:07.529847"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$gUf/mXvwjycPbbgfl4BoUejvvPYB43mqYRIi.HF5AXlTs8FSDjJ66"], ["created_at", "2018-11-07 23:03:07.710684"], ["updated_at", "2018-11-07 23:03:07.710684"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 16.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$v04Zrp.P..7lzcwTcHqZEuvdaAtDd0GG5pHX0g1uitvSMlC9XxFPC"], ["created_at", "2018-11-07 23:03:07.907906"], ["updated_at", "2018-11-07 23:03:07.907906"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$cikxEIE7NWQVpmEKph8vMOHrg6w.Ju3J.pp/Hd8zk7OcuygV40xzO"], ["created_at", "2018-11-07 23:03:31.019789"], ["updated_at", "2018-11-07 23:03:31.019789"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 299.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$CYlSHvIjmJ4UjfxvhwMZhuqgSclmq3VVPBzeUiIcauz339yRgf0vm"], ["created_at", "2018-11-07 23:03:31.490809"], ["updated_at", "2018-11-07 23:03:31.490809"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$umhSWWY0w1yvUZWtqCpcEuqCF8l8nw0tuF8cIp3FfFtNsPaLZ.QFi"], ["created_at", "2018-11-07 23:03:31.675155"], ["updated_at", "2018-11-07 23:03:31.675155"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$enK0iD7SnFEmNpNSoTRN4uK9TIzUWmLQpEAzBL9Zp.UG2ogOPsfbS"], ["created_at", "2018-11-07 23:03:31.852271"], ["updated_at", "2018-11-07 23:03:31.852271"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FFjsRMeYDQ6ixUUgzUo8k.307UdJ6Q6yZ3H/GpRMnx/eNtxgiyQyS"], ["created_at", "2018-11-07 23:04:24.548245"], ["updated_at", "2018-11-07 23:04:24.548245"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 260.4ms

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$OQpUgzZih8o8N5Gxf0XjhOXxyrDwa5pcY5Ot2lgZmMdvovyzsk7C6"], ["created_at", "2018-11-07 23:04:25.019097"], ["updated_at", "2018-11-07 23:04:25.019097"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$nJdm6GoHeNHe4Hm1SfP5OuOCyr77SIAyIpO4vyPZTWG5Kna.1uHvG"], ["created_at", "2018-11-07 23:04:25.194470"], ["updated_at", "2018-11-07 23:04:25.194470"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$l.lgO9elDw1KGZknK1chY.3uX4xzhAbLsTqEhOnKwsr/ln96gYiMq"], ["created_at", "2018-11-07 23:04:25.362683"], ["updated_at", "2018-11-07 23:04:25.362683"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ouo1JeCxINlniw62cGsVHOmB6OJyeADSoUaRNU0bcsTH48hvxA0Eq"], ["created_at", "2018-11-07 23:04:25.539643"], ["updated_at", "2018-11-07 23:04:25.539643"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$BLx91.uAxtIid4/AX7NLMOyMHmvwBU1sziulTzBrkEoAmDW3QE5ue"], ["created_at", "2018-11-07 23:08:06.428142"], ["updated_at", "2018-11-07 23:08:06.428142"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (1.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 253.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$YIhTzLP/LeuQUm//jIK3H.eq15JJGDrLk5CyAS7vuoyYTaRixHJMe"], ["created_at", "2018-11-07 23:08:06.874470"], ["updated_at", "2018-11-07 23:08:06.874470"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.usskcs9ZFVlRe0U4MqkOueXHPioqC8Ei/WWqPtzoxBC0/9hK53Uq"], ["created_at", "2018-11-07 23:08:07.080932"], ["updated_at", "2018-11-07 23:08:07.080932"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$uJcgxPlWW9DLl0xt6uFOU.sxihS1.nynHh9ASZ/b.F1OPkhYVhVtK"], ["created_at", "2018-11-07 23:08:07.256632"], ["updated_at", "2018-11-07 23:08:07.256632"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3K.v7NNVpQtvvKReTeukOOpDGlhZ7Al0jy9YQJBm..FCe2V4IpLZe"], ["created_at", "2018-11-07 23:08:54.651246"], ["updated_at", "2018-11-07 23:08:54.651246"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 259.3ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$vBsUhedfJzO0DkbuKye9UezQr19QK.eoEKWA8AAMURI70ABZXnodO"], ["created_at", "2018-11-07 23:08:55.082252"], ["updated_at", "2018-11-07 23:08:55.082252"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$OkIGGGFjNFKZB5mj45ap0eBS9lJ79NqrOUgfzamsuvQ0Ih6vZl07W"], ["created_at", "2018-11-07 23:08:55.268983"], ["updated_at", "2018-11-07 23:08:55.268983"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$2uwb6fkKhP8vNxHAr5ZDAOs4rsmcnP3T7bocIhH1xSIEBhU3kM8Cy"], ["created_at", "2018-11-07 23:08:55.442760"], ["updated_at", "2018-11-07 23:08:55.442760"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$wSWUs4990gC63FF7rIGk4eYdxtDBwaCRXFJu4jtwSBPDOxH/1tmR2"], ["created_at", "2018-11-07 23:09:48.099732"], ["updated_at", "2018-11-07 23:09:48.099732"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 248.6ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Cmjm8GKixHUBW32s4g.ygegrMiWHhxfYuAhmWs02DueQ4n8JuR4HG"], ["created_at", "2018-11-07 23:09:48.574952"], ["updated_at", "2018-11-07 23:09:48.574952"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$zrmeGG3tiVFgn4.kCMtjfuyTlr4Oke8.uq77fcKORNJS79SCJi50i"], ["created_at", "2018-11-07 23:09:48.750701"], ["updated_at", "2018-11-07 23:09:48.750701"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$RLMaf08s6tbg9QzEafg4de0k4/J8QBRf0CMylQ7Jjh0vVUVrtdOZ."], ["created_at", "2018-11-07 23:09:48.919201"], ["updated_at", "2018-11-07 23:09:48.919201"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$oSGsCRj.rXaP.F4kT7be3.Ww.UaAfXKSQjnwMwXoXS5W9EhkMLgnK"], ["created_at", "2018-11-07 23:09:49.091517"], ["updated_at", "2018-11-07 23:09:49.091517"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$hvaUgjWiB5LxlAOanYDcQ.f.x8t/ZW9r3Sd3oUEnsyeaMF/cW4EEu"], ["created_at", "2018-11-07 23:10:21.088565"], ["updated_at", "2018-11-07 23:10:21.088565"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 248.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pMorDyvQeNZvOfy/UFsmL.dXt16ODK5BrkxrzJGek2XEVa/4SgllC"], ["created_at", "2018-11-07 23:10:21.506065"], ["updated_at", "2018-11-07 23:10:21.506065"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eDEiTQLVP/cjiXky7LIOxO9oECS8K/Lz72ihrta7laDrjXY6hW6hG"], ["created_at", "2018-11-07 23:10:21.687580"], ["updated_at", "2018-11-07 23:10:21.687580"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TN2Lm4UwFJZhCCIrmwio..nJIlWmWONvjWXJARdKw83jdxVvU.i9C"], ["created_at", "2018-11-07 23:10:21.860981"], ["updated_at", "2018-11-07 23:10:21.860981"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$eePmSJK3LyDZs.sX3E7LIeR6eQQRpFIOofIUyO3CSJKs4ndsDNkDG"], ["created_at", "2018-11-07 23:10:46.314386"], ["updated_at", "2018-11-07 23:10:46.314386"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 251.7ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$p.8BSe7Zkf3T5TuRmJJTBefiWyb7RkPRWlRIhPsVfDXKy3X/06uVm"], ["created_at", "2018-11-07 23:10:46.737430"], ["updated_at", "2018-11-07 23:10:46.737430"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$1DfsOx.qdYFPvRWUXvbxDewnDeIn7t8sZCcXYhdfTIpzGsEWZ9ey6"], ["created_at", "2018-11-07 23:10:46.921751"], ["updated_at", "2018-11-07 23:10:46.921751"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$9USSmckwR4XgO0.0TjHqcOGozA8m35l2m3HlME65RTlwv47YogZQi"], ["created_at", "2018-11-07 23:10:47.096893"], ["updated_at", "2018-11-07 23:10:47.096893"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$65aQEn/AapfQZvfkbbJeoudD9oMwm5F3Bjjjzn8yZIjzXdisISFeu"], ["created_at", "2018-11-07 23:11:01.334915"], ["updated_at", "2018-11-07 23:11:01.334915"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 252.8ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$rTpsXEdnY3Ui6xFzh4VX3eFhHnZzX4H513NQCWxb.h8wUrFAmlmdK"], ["created_at", "2018-11-07 23:11:01.757241"], ["updated_at", "2018-11-07 23:11:01.757241"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN

Processing by PasswordResetsController#create as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dXBnOPoSBB2.9tvCd4wZguhWsYCzqJ1Ikmx/U.uBR8WMRUAPC8kVW"], ["created_at", "2018-11-07 23:11:01.952962"], ["updated_at", "2018-11-07 23:11:01.952962"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TAnskzL0jqnbVWVBy/46beT7hkIi1rHlSYqkNhoW56c5re9TGWJYK"], ["created_at", "2018-11-07 23:11:02.128566"], ["updated_at", "2018-11-07 23:11:02.128566"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.2ms)  ROLLBACK
 (1.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZKbn5TJGhLRUboTdO9EGdeU1g8llwVosUbNc4as60vEHqMVxGIodS"], ["created_at", "2018-11-07 23:15:21.688406"], ["updated_at", "2018-11-07 23:15:21.688406"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 250.4ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lYzL55mHX1P0oWoxonr8Ru4wI0hKTEZqjS1XdWDiXZ6EptgsKK44q"], ["created_at", "2018-11-07 23:15:22.112712"], ["updated_at", "2018-11-07 23:15:22.112712"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bYOngnhYadtDE//vQXXaI.f8W.zXRmBlUPpEEzeQ2qi2wbfNDgTj."], ["created_at", "2018-11-07 23:15:22.288399"], ["updated_at", "2018-11-07 23:15:22.288399"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ai.Jn4X5EP4RHEWktb9NKe1yzpVEiU3k3aER14Is7PAVXCb4FMXQa"], ["created_at", "2018-11-07 23:15:22.460271"], ["updated_at", "2018-11-07 23:15:22.460271"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$K48WBReL/L/XUfDuQzhHM.Rl4Q56GkjUkGzTq06KicDlnCzVtxecS"], ["created_at", "2018-11-07 23:15:22.638654"], ["updated_at", "2018-11-07 23:15:22.638654"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 14.7ms

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TzDbtn06KGD82qWet7mQn.blFL6AIFxe6Zd429MiCE/pwVQCHdQ1G"], ["created_at", "2018-11-07 23:15:33.829940"], ["updated_at", "2018-11-07 23:15:33.829940"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 261.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FBNTUuJz6VpZBOPDDTcTz.2drI8g/UjaJmIijq/0kfP1DEuvP6e8e"], ["created_at", "2018-11-07 23:15:34.259719"], ["updated_at", "2018-11-07 23:15:34.259719"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.1ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$fFDWEC7szpYDwSHPCFG5QOrgn1/BBKQhxAc6FkykoX6lmrf7gtSNW"], ["created_at", "2018-11-07 23:15:34.440618"], ["updated_at", "2018-11-07 23:15:34.440618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$t4Y8ILIiKtb17/muERUka.BvCnmAN1Glac.UzCw76Ru/MqxkWCwJq"], ["created_at", "2018-11-07 23:15:34.616452"], ["updated_at", "2018-11-07 23:15:34.616452"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.4ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bQKbLz8a9s5KrfyiQ9Xg3ueNWNNZle0IIKsYSUGBxtoRG37snHIbO"], ["created_at", "2018-11-07 23:16:01.474792"], ["updated_at", "2018-11-07 23:16:01.474792"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 248.9ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6uRe.TLK45cT3j.mIj2W2OJXhC6TZpgcVyWG8PthHHeoaPZTxCuA6"], ["created_at", "2018-11-07 23:16:01.893547"], ["updated_at", "2018-11-07 23:16:01.893547"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xoSqDOW1RiGzOXNDQzR94ORGL671VKkq38icShJE5v9M8e6ff/I26"], ["created_at", "2018-11-07 23:16:02.074938"], ["updated_at", "2018-11-07 23:16:02.074938"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$bfZTWWgI.R7y6C0z3KEKU.JVH1h7.4b/d0U1pI4P9tQuM7NW3VKnm"], ["created_at", "2018-11-07 23:16:02.251169"], ["updated_at", "2018-11-07 23:16:02.251169"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.4ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$CgKK6oPTzq6AmdlxjCjrvO0PO07h6vTz3cLhP2QBP2h589E4UHeC."], ["created_at", "2018-11-07 23:16:14.845653"], ["updated_at", "2018-11-07 23:16:14.845653"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 244.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$omhY7XeM6v1Q/e.K7V9qpOfcWuPWwsV7swd5K3P2uM7BAzgeDWOL6"], ["created_at", "2018-11-07 23:16:15.262238"], ["updated_at", "2018-11-07 23:16:15.262238"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dj5ottCFMtoySJO4dL/.YOYTyy3BsAOl/3WwlR3VteyKUv5kFzKPO"], ["created_at", "2018-11-07 23:16:15.442862"], ["updated_at", "2018-11-07 23:16:15.442862"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$CeGB0IK7h2p8ksYHSffn0umq4rLti7Pn7ZCu/wFOFOtF3SNLTXovG"], ["created_at", "2018-11-07 23:16:15.615842"], ["updated_at", "2018-11-07 23:16:15.615842"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.2ms)  ROLLBACK
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FGChhw8oz2S2N489XAiUX.SYisFvcWj0OKL3eUrmrX7TlZzcWN9k."], ["created_at", "2018-11-07 23:17:36.175660"], ["updated_at", "2018-11-07 23:17:36.175660"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 253.7ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Ao7vCsnn6f8F2jjhsCarE.uR3QkqQspAY8VeKeP0vJsyx84Ws17uW"], ["created_at", "2018-11-07 23:17:36.601445"], ["updated_at", "2018-11-07 23:17:36.601445"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 20.1ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"email"=>"teste@unb.com.br"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$po39vDKj3fvy3wvggQp4ZeuLng//v.3nx3HBWhWlBXPBI1/DCo8xK"], ["created_at", "2018-11-07 23:17:36.852482"], ["updated_at", "2018-11-07 23:17:36.852482"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 19.9ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$D/qcxj3GYIUaxdx0K959Q.1OVdj/ySag5rgDXP79PNOP75cM8p1g."], ["created_at", "2018-11-07 23:17:37.068702"], ["updated_at", "2018-11-07 23:17:37.068702"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2WIfQhP5MD72wZkiaXRdauuHGQmA2dr6EwpFK.zTzJUWO7jbZbcY2"], ["created_at", "2018-11-07 23:17:43.105490"], ["updated_at", "2018-11-07 23:17:43.105490"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 265.4ms

 (0.6ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$EemFWSrDJeDdPuxsjYopJ.keZ0CdIoPW6RGMZ8d8O9F/zR7AmMsAq"], ["created_at", "2018-11-07 23:17:43.540461"], ["updated_at", "2018-11-07 23:17:43.540461"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"email"=>"teste@unb.com.br"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Rxa2BXEl.BjiPNxeattBsOakVHUzZorTDqqEpx/TTuicQWoq9Q5JW"], ["created_at", "2018-11-07 23:18:31.629888"], ["updated_at", "2018-11-07 23:18:31.629888"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 252.1ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$PR2E2Z2M2DbhH1A.2XO3Je0xeXeEFMTxpVZ8kJMXY9JyRYs2B2hq6"], ["created_at", "2018-11-07 23:18:32.053782"], ["updated_at", "2018-11-07 23:18:32.053782"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"email"=>"teste@unb.com.br", "password_reset"=>"[FILTERED]"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$NHg.7VQ2/mgqWeezLiUyn.h7ch5oZ57sLaOFiEcZEJZqCu9omj5hm"], ["created_at", "2018-11-07 23:24:46.115521"], ["updated_at", "2018-11-07 23:24:46.115521"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 251.1ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$DpiBtEWTW.1h4sf.kHyoU.fldgMpnNfwCJeZ8A6fcjuL0kxuwrDsC"], ["created_at", "2018-11-07 23:24:46.538788"], ["updated_at", "2018-11-07 23:24:46.538788"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$u47zf8D6eNm7zHU2qjUDkepKR.w6WGDMrOlC4.fSdMTjQZLWPVZ7m"], ["created_at", "2018-11-07 23:24:57.840277"], ["updated_at", "2018-11-07 23:24:57.840277"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 274.5ms

 (0.5ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$UV6r2vxn7MQ2jtO7lbwqFepSh5Kuat58iaK6yU/IncsfaqIEZDqZ6"], ["created_at", "2018-11-07 23:24:58.284490"], ["updated_at", "2018-11-07 23:24:58.284490"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-07 21:25:46 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.4ms)

Completed 200 OK in 308ms (Views: 300.2ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 21:25:51 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (25.9ms)
Rendered users/sessions/new.html.erb within layouts/application (40.9ms)

Completed 200 OK in 160ms (Views: 87.6ms | ActiveRecord: 7.5ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 21:25:55 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mtCr6zCYhOfx7Gs4hK5AsfWj2C590BlcfzNp0xL0SIO2EqYgXKNSSsLljmnQNp6ezCv65ExpJSOeeorDsmWIHw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 9ms (ActiveRecord: 1.7ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mtCr6zCYhOfx7Gs4hK5AsfWj2C590BlcfzNp0xL0SIO2EqYgXKNSSsLljmnQNp6ezCv65ExpJSOeeorDsmWIHw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (8.4ms)

Completed 200 OK in 251ms (Views: 62.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 21:26:15 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zesKicE3251Z5X6efqqIWwECN3cVXMSmlnr+LkJ/QETjlnE+NBr+UIjK6ptrvroXcwHVAEH4PFYa7Ot/dMTqRA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 6ms (ActiveRecord: 1.5ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"zesKicE3251Z5X6efqqIWwECN3cVXMSmlnr+LkJ/QETjlnE+NBr+UIjK6ptrvroXcwHVAEH4PFYa7Ot/dMTqRA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (9.5ms)

Completed 200 OK in 231ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 21:26:18 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GD1brSvYC5cEqS4+kho0CeutXpApfLmQuJbOzQgKy6g2QCAa3vUuWtWGujuHDgZFma68533YQWA0ANucPrFhqA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 7ms (ActiveRecord: 1.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GD1brSvYC5cEqS4+kho0CeutXpApfLmQuJbOzQgKy6g2QCAa3vUuWtWGujuHDgZFma68533YQWA0ANucPrFhqA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.7ms)
Rendered users/sessions/new.html.erb within layouts/application (9.8ms)

Completed 200 OK in 291ms (Views: 83.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 21:26:21 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xRfG23+2gbC9BELyAgBlQ3KpDqbHM5nqGw7GsDKXBsfrar1sipukfWwr1vcXFFcPAKrs0ZOXYRqXmNPhBCysxw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 9ms (ActiveRecord: 0.8ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xRfG23+2gbC9BELyAgBlQ3KpDqbHM5nqGw7GsDKXBsfrar1sipukfWwr1vcXFFcPAKrs0ZOXYRqXmNPhBCysxw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.2ms)
Rendered users/sessions/new.html.erb within layouts/application (14.8ms)

Completed 200 OK in 251ms (Views: 74.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 21:26:23 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 48ms (Views: 46.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 21:26:46 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xsWYVeWIYA1X3ToaKEcSBT9mLGts31eYWOYanXXdJbKsf0ic3LSgGPtRBSHHp+PHsWpMjzXn1C1T2gjz0vXtJA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}

Completed 500 Internal Server Error in 225ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `password_reset' for #<PasswordResetsController:0x007ff1d4635ee8> Did you mean? password_reset_url):

app/controllers/password_resets_controller.rb:10:in `create' Started GET “/login” for 127.0.0.1 at 2018-11-07 21:27:17 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.0ms)
Rendered users/sessions/new.html.erb within layouts/application (11.8ms)

Completed 200 OK in 80ms (Views: 74.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 21:27:18 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (15.4ms)

Completed 200 OK in 111ms (Views: 109.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 21:27:22 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+eBgniHDO4iDzAmW/SepoAN4bl2kxDjT/7jLcRKjXeCTWrBXGP/7nS9ANq0Sx1hijXQOuf38u2b0hNkftYuVdg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}

Completed 500 Internal Server Error in 232ms (ActiveRecord: 0.0ms)

NameError (undefined local variable or method `password_reset' for #<PasswordResetsController:0x007ff1d4439248> Did you mean? password_reset_url):

app/controllers/password_resets_controller.rb:10:in `create'

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$aFa/uYykGDIhpTlImNCLrugGyalwcO6aOazJMWSvYMQ1nxiCOcfri"], ["created_at", "2018-11-07 23:27:54.038858"], ["updated_at", "2018-11-07 23:27:54.038858"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 255.7ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$KX6C1pZPF2r4Kk9f/nTZvekH9JzyKVhgwC8.39aayg.bWriis1UuS"], ["created_at", "2018-11-07 23:27:54.472709"], ["updated_at", "2018-11-07 23:27:54.472709"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]"}

Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$iTZlB9vE1w7dusnbgfm.qeFDq.q2.2NZ1uZwkRX3aTFBBWXlQqrO."], ["created_at", "2018-11-07 23:28:00.843252"], ["updated_at", "2018-11-07 23:28:00.843252"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 252.5ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Bhs0XsCnDYwu1IHoWbytPOlMKr0KuimdOcDNrgx1gg4wExHTVfDue"], ["created_at", "2018-11-07 23:28:01.266049"], ["updated_at", "2018-11-07 23:28:01.266049"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$l3yuZT1Ju6li4z/XMCo2teSr4O4nCMRG0UQ4rvFfTrRMTiitibNpS"], ["created_at", "2018-11-07 23:28:13.949150"], ["updated_at", "2018-11-07 23:28:13.949150"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.3ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$kgOayu7xs44Gk2MuxYv9VeJXLMsVjmka.C9rIVRdHyOMQjMKm3hlG"], ["created_at", "2018-11-07 23:28:14.368346"], ["updated_at", "2018-11-07 23:28:14.368346"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$iG5TXcVHoJP8oU4MmvSttOxGF2d1xPbAi1y.GaB8m3Netm6TRYBMa"], ["created_at", "2018-11-07 23:33:57.420723"], ["updated_at", "2018-11-07 23:33:57.420723"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$hYi0noJ40zlUTWAt/bQEiuHnyeWsqVDWyubnUmeiPVkqiOVXhkM52"], ["created_at", "2018-11-07 23:33:57.839833"], ["updated_at", "2018-11-07 23:33:57.839833"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"authenticity_token"=>"+eBgniHDO4iDzAmW/SepoAN4bl2kxDjT/7jLcRKjXeCTWrBXGP/7nS9ANq0Sx1hijXQOuf38u2b0hNkftYuVdg==", "commit"=>"Enviar", "password_reset"=>"[FILTERED]", "utf8"=>"✓"}

Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$o/dZiA6.IzR4BqqV9FabJ.Id9VQWK0B2vdJhs3cADogPnpukEne8G"], ["created_at", "2018-11-07 23:34:14.273045"], ["updated_at", "2018-11-07 23:34:14.273045"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$U4apozKwZY1cprNEoiFmAuOCCsGTBfQ4HjUmA7mD0PDAkcnTLC0.a"], ["created_at", "2018-11-07 23:34:14.693500"], ["updated_at", "2018-11-07 23:34:14.693500"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Processing by PasswordResetsController#create as HTML

Parameters: {"authenticity_token"=>"+eBgniHDO4iDzAmW/SepoAN4bl2kxDjT/7jLcRKjXeCTWrBXGP/7nS9ANq0Sx1hijXQOuf38u2b0hNkftYuVdg==", "commit"=>"Enviar", "password_reset"=>"[FILTERED]", "utf8"=>"✓"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$67oZG3p.VnzfRWCSyg6dc.ySj83jJCV789Kdb3XvD/.5mUrdNylOO"], ["created_at", "2018-11-07 23:42:25.967193"], ["updated_at", "2018-11-07 23:42:25.967193"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 248.3ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$gC1GW/TDOyRlHVc22zmcGuP4pklgpXqzjsLKzV44HicFaP0vzuz/."], ["created_at", "2018-11-07 23:42:26.407244"], ["updated_at", "2018-11-07 23:42:26.407244"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TSGLwK.KOCRLSffdQsg/POruzx9nI1VQMIcGDDNilwCp1SQHaRBB."], ["created_at", "2018-11-07 23:42:46.743710"], ["updated_at", "2018-11-07 23:42:46.743710"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 262.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$kjUFzKNrE3dqxFez7kzsfOiHjcRBkBYj8y/WcLJxIk7aSqpprYD/."], ["created_at", "2018-11-07 23:42:47.174497"], ["updated_at", "2018-11-07 23:42:47.174497"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$O32UTyo.aQ4.01eTZR/UNOqlGf4q1YJfRNfv4pZelxYUekvZUCEii"], ["created_at", "2018-11-07 23:42:47.355465"], ["updated_at", "2018-11-07 23:42:47.355465"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$N5GfWJpns3qaYH5QEbdQUuS/46Wei4cjLjrUSDxbtH9XA1uiyh1w2"], ["created_at", "2018-11-07 23:43:39.560113"], ["updated_at", "2018-11-07 23:43:39.560113"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 249.1ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$NDpQLIkSpZ/1fy8mkS/bDe8a40hR/edMNIgWhbacKA07.UiiUrj.u"], ["created_at", "2018-11-07 23:43:39.979957"], ["updated_at", "2018-11-07 23:43:39.979957"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$sEMPVJqOD8eZn8GBrrTG0ejigdHFLR1bDyYJBFswMb6co0aGe97Ri"], ["created_at", "2018-11-07 23:43:40.159868"], ["updated_at", "2018-11-07 23:43:40.159868"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267450"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$i25hVZ8HQ2p1rqdSMwzTqO8SNRwBcpYIgSFhrdtCxfidrI4gz8etu"], ["created_at", "2018-11-07 23:43:40.337317"], ["updated_at", "2018-11-07 23:43:40.337317"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$U6uTKolhCIIAMGPuQawtcuKN9MS521MVZDFky/FBstw97jRxFAlJG"], ["created_at", "2018-11-07 23:44:11.770760"], ["updated_at", "2018-11-07 23:44:11.770760"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 272.2ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$xbBGXfvDhhI.ysv9nTv2.eEHbo4Vhralj3iZV6IXk7eOetYJIKYz2"], ["created_at", "2018-11-07 23:44:12.216875"], ["updated_at", "2018-11-07 23:44:12.216875"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.5ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8Ui/K/qma2PH.M34le7o5.eW5cxnTmfrxPREZAQGCFcebAgw1xqlm"], ["created_at", "2018-11-07 23:44:12.396662"], ["updated_at", "2018-11-07 23:44:12.396662"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267454"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$ENsQAwAt5uAmUdi421ruKulw75d7l3m1t3PWU1L1D2XFV1XtMR/Ve"], ["created_at", "2018-11-07 23:44:12.576891"], ["updated_at", "2018-11-07 23:44:12.576891"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ESxwTPaxgnLoAVgc03rx6uV1kOSBLvCAUzELWdOxScLfdjBetyVkW"], ["created_at", "2018-11-07 23:45:55.948646"], ["updated_at", "2018-11-07 23:45:55.948646"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.5ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$t0IB3UY968NsKXqXoj8BJOyqyv2Gb9FOYRtiSHFotzlIkC6O8GP7C"], ["created_at", "2018-11-07 23:45:56.371318"], ["updated_at", "2018-11-07 23:45:56.371318"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$WYbLX0Ke7DG1X9our4ZO8u3JI9MWRsB1QW2ggLPmE4DU1EhCyRbLi"], ["created_at", "2018-11-07 23:45:56.550817"], ["updated_at", "2018-11-07 23:45:56.550817"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267458"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$hvpAeuqMNy3oO8lBUI9RNONt6urWR9GZ1j9vGAZxHUXELCmjqAR8i"], ["created_at", "2018-11-07 23:45:56.728822"], ["updated_at", "2018-11-07 23:45:56.728822"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2H8iBlJeYMsQjGHa4DUkmOnvwOTjWz2BNcm68OyGwAl2R29fG4sPG"], ["created_at", "2018-11-07 23:48:36.825990"], ["updated_at", "2018-11-07 23:48:36.825990"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 248.6ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$w0hxBTg/dQuaMcNICuBEYuv0siA4Ww2EIYR1p80nztP1nKwemt1qG"], ["created_at", "2018-11-07 23:48:37.245513"], ["updated_at", "2018-11-07 23:48:37.245513"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$XdDbvKpi9wWbD4uPYR0Ve.wSjBjPRDDrl1SqO7pNgq0icUErl33Pq"], ["created_at", "2018-11-07 23:48:37.421601"], ["updated_at", "2018-11-07 23:48:37.421601"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267462"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$aDFMnKr.BNghfs8JYWpUXeONMXoB.A0kIVbsl4.lZjjPFLnFJN2Ei"], ["created_at", "2018-11-07 23:48:37.598604"], ["updated_at", "2018-11-07 23:48:37.598604"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$9kp9zfpq6T5bBv1ZazKHw.aB3TSVeJejaj6txm0jEg4R9y1rSD6xW"], ["created_at", "2018-11-07 23:49:36.031025"], ["updated_at", "2018-11-07 23:49:36.031025"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 251.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$x0AhCe6yaEGrIHANM0ulW.UYieZmqPJ1kBajMjT.Q6cVl/fE.RZde"], ["created_at", "2018-11-07 23:49:36.451952"], ["updated_at", "2018-11-07 23:49:36.451952"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$.DOu796iFGo1ijIC7B5wXeOmtGdf4xn03enS/lSVhy1gybtqk/3T6"], ["created_at", "2018-11-07 23:49:36.660204"], ["updated_at", "2018-11-07 23:49:36.660204"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267466"}

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$o3lZPm.qY/0DI6CKDID51.OHPDjATTifMohek5glPo9goL7T4MjJa"], ["created_at", "2018-11-07 23:49:36.920210"], ["updated_at", "2018-11-07 23:49:36.920210"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3/TUYHMV0BqsGf/568z2XuXluuNqPbSQCUuN5qKN3dK5oLi5ojFRW"], ["created_at", "2018-11-07 23:49:57.543518"], ["updated_at", "2018-11-07 23:49:57.543518"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 249.7ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$mHlW7hZDtc9g30uLnin25ug9c6xRj2Geeb9daB/ssAe084Lw19AB2"], ["created_at", "2018-11-07 23:49:57.962618"], ["updated_at", "2018-11-07 23:49:57.962618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$0FuFWj31RhdTJ1KLW0OmOueaOl4PA322zA1Z3cTkdkdMhFD/4pjg6"], ["created_at", "2018-11-07 23:49:58.139791"], ["updated_at", "2018-11-07 23:49:58.139791"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267470"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$ueHWKpMiBR1bKGm3mN5ICuvS2zODVUizOUb8MBe/QEVtG0KdHmlES"], ["created_at", "2018-11-07 23:49:58.317668"], ["updated_at", "2018-11-07 23:49:58.317668"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lbGLb7pm1Df1rvQllnjp8uXoDGSox2F9GSmiftxWEDPihUjyQosiC"], ["created_at", "2018-11-07 23:52:59.616304"], ["updated_at", "2018-11-07 23:52:59.616304"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.0ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$QaWFEoRkJcZsuNSFxQkSn.k3oBVT4rsuSZ0LK/M.DqGIECqUzAyI6"], ["created_at", "2018-11-07 23:53:00.037705"], ["updated_at", "2018-11-07 23:53:00.037705"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$mo855jK1t0DbpxcOu7xU5.AEfWoPWpcEMR4OAyfWXcuhGvuXGXH4i"], ["created_at", "2018-11-07 23:53:00.214617"], ["updated_at", "2018-11-07 23:53:00.214617"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267474"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$0GaP8/YVNLw3mnDu.TNhWO1dgOy4LsWMLvRj9AWjkM1qLWqwt6GO."], ["created_at", "2018-11-07 23:53:09.189174"], ["updated_at", "2018-11-07 23:53:09.189174"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.0ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$aQioby6utb8GVKoPeksRAu2nED3HUEcx5LVFdJFuRNhLf5ljKfOkS"], ["created_at", "2018-11-07 23:53:09.609437"], ["updated_at", "2018-11-07 23:53:09.609437"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$QJOqxBpUwoKOUFi2zXwZD.9AReEestAYZBWLYIG.l7OA7PEu9lgym"], ["created_at", "2018-11-07 23:53:09.785369"], ["updated_at", "2018-11-07 23:53:09.785369"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267477"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$lukghrqVfzfUCffT8mGNsuaCDR3Tcl5K32z0hCEr0GTskjsk2q.M."], ["created_at", "2018-11-07 23:53:09.960041"], ["updated_at", "2018-11-07 23:53:09.960041"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$4r6IE3v58z1TNY2qFi9Xpe9rWsuHFXzN2jwINmyJEV0R/RbR3irue"], ["created_at", "2018-11-07 23:53:31.120375"], ["updated_at", "2018-11-07 23:53:31.120375"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3RGzK2buWdVSubXIsZNt4.KfPPNjCn2jOh1COSjPsTUfx0RSUMh/i"], ["created_at", "2018-11-07 23:53:31.538254"], ["updated_at", "2018-11-07 23:53:31.538254"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3eMSJdx607EvS8uH6rHi8ez6wfEiCFEsfYNSkHRGNhH/z3LswCmn6"], ["created_at", "2018-11-07 23:53:31.715084"], ["updated_at", "2018-11-07 23:53:31.715084"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267481"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$1pgszEPSauuxSqYSNySZCOny//OoXoOqVMzb/vqkRVG2gjILpYOgK"], ["created_at", "2018-11-07 23:53:31.893676"], ["updated_at", "2018-11-07 23:53:31.893676"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8S4un3jKeJHAoA1L/51EdeHc45EytFl8uu6zo1dpNun2gRBTj.qhC"], ["created_at", "2018-11-07 23:53:43.953885"], ["updated_at", "2018-11-07 23:53:43.953885"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 250.2ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$sp1shLKfzc27KTcYrgGu8upxYvyCbZCONmpiqcKnDKNO4XInmHs2K"], ["created_at", "2018-11-07 23:53:44.375967"], ["updated_at", "2018-11-07 23:53:44.375967"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pDCiPw4e6UIshgBEYmGIEOZ7pyag.2Y0XfxAgaPRUKhoMa/jF3Nly"], ["created_at", "2018-11-07 23:53:44.551598"], ["updated_at", "2018-11-07 23:53:44.551598"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267485"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$vn4wXTXpLM5P/teqMlNgf.Ls4qrKdNfgFWR4CQ9WP7c4YFDNptsbK"], ["created_at", "2018-11-07 23:54:09.020974"], ["updated_at", "2018-11-07 23:54:09.020974"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 246.9ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Oe7GMLPQgm/C/GMpn4xgPOXS3YHi1dxfVpihoIqJK2dJ6ihHatde6"], ["created_at", "2018-11-07 23:54:09.463012"], ["updated_at", "2018-11-07 23:54:09.463012"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$HrpxFEDV0qbpg7LWQcWyquRhncC76LEVm3MlWmFIi0tMDT83.oqv6"], ["created_at", "2018-11-07 23:54:09.639322"], ["updated_at", "2018-11-07 23:54:09.639322"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267488"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$S0YkG4ayGJMzoHTnfUIpju760xEHoHc4FEq3DRfe7w.Pwli7eHlii"], ["created_at", "2018-11-07 23:54:09.815671"], ["updated_at", "2018-11-07 23:54:09.815671"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$vbG34uucrSggVEfOUIGFDO5zJIpx/0PbTI53SznxayGUSmvvShVi."], ["created_at", "2018-11-07 23:54:26.862190"], ["updated_at", "2018-11-07 23:54:26.862190"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 277.8ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$jA/aIGHV5SWIWc6qwTWV9.nY7q6qPdhSeNzb21unOAUlZ8sh7LPqm"], ["created_at", "2018-11-07 23:54:27.312461"], ["updated_at", "2018-11-07 23:54:27.312461"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pdlqwvEqWfTT67zadPpMSOQF3knBdsPrYiREnVnEWLNbXWRJJH8NK"], ["created_at", "2018-11-07 23:54:27.490393"], ["updated_at", "2018-11-07 23:54:27.490393"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267492"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$qnl4AtrZI4HPvCoDx5hmpOn2rGzQozjSKdplzA.nDbSST6IDPq9BS"], ["created_at", "2018-11-07 23:54:27.664640"], ["updated_at", "2018-11-07 23:54:27.664640"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"id"=>"293267493"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 1.1ms)

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Ki3b0vPSnJWGxy.U3pTXSu1wBopG3hiQibap6507AZptapTWpi9tO"], ["created_at", "2018-11-07 23:56:23.467127"], ["updated_at", "2018-11-07 23:56:23.467127"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (3.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.4ms)

UserMailer#password_reset: processed outbound mail in 331.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8sVYeKahWbB1BSIWIr0tpO9mTf2TpzcFuuMXgQLseH1SvpcrZdoUu"], ["created_at", "2018-11-07 23:56:23.972926"], ["updated_at", "2018-11-07 23:56:23.972926"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$BU5CTMqosUrJIJ3G/BtE1./DxPtKAa06cTsFA0Ux4dOMt/HR.Jb9y"], ["created_at", "2018-11-07 23:56:24.150634"], ["updated_at", "2018-11-07 23:56:24.150634"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267496"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$VuyKu7hhWN/Fl0YIcEbCK.7.98ocozlC.a47gSbEWJFMqWi.GaHsO"], ["created_at", "2018-11-07 23:56:24.328467"], ["updated_at", "2018-11-07 23:56:24.328467"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "id"=>"293267497"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$XHt4ceXMd.rsp93rU317JOxeAcc/uxN.Aymiyew/FE/uXSbJ127zy"], ["created_at", "2018-11-07 23:57:09.290396"], ["updated_at", "2018-11-07 23:57:09.290396"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 248.8ms

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3h.GAwmcPJKqhFutwl4hLOggq0NFGSihJnLV2J6r9oX9ODKaVibCe"], ["created_at", "2018-11-07 23:57:09.731949"], ["updated_at", "2018-11-07 23:57:09.731949"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$JCPYEA4.E/zMVPxXX9lKGO5kncC6/J4UT9Und66XAv71Ta7KyKYzq"], ["created_at", "2018-11-07 23:57:09.911898"], ["updated_at", "2018-11-07 23:57:09.911898"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267500"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$FzQfK01RtfDWnJ3zJPlhveTbdEqt6LB3hHNsNa4s7f1jLkhUQ5X.K"], ["created_at", "2018-11-07 23:57:10.110685"], ["updated_at", "2018-11-07 23:57:10.110685"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "user"=>"293267501", "id"=>"293267501"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.8ms)

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$S4PfZBmC1pL3ShIUBZC2FeESbWiFSI7VJVQBfNnpZ.D8IeJyCrAbK"], ["created_at", "2018-11-07 23:57:27.733450"], ["updated_at", "2018-11-07 23:57:27.733450"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 251.1ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$KkL0QIvNmjq8oTF1SR65iu8jMVWgjVuQb9kgdN/8hIMwDPX/ElKSa"], ["created_at", "2018-11-07 23:57:28.198861"], ["updated_at", "2018-11-07 23:57:28.198861"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6qW5Rt.hOrUGb8KBZqTLOu4aHEj6LttyXOGAWb5DqMTfzYc7Fcd4G"], ["created_at", "2018-11-07 23:57:28.411787"], ["updated_at", "2018-11-07 23:57:28.411787"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267504"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$iN5zqwcRRw2Zzyu6ANxKze1lNNM5gwvwsKCZxHxBhj.QclnGvqM4."], ["created_at", "2018-11-07 23:57:28.587450"], ["updated_at", "2018-11-07 23:57:28.587450"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "user"=>"293267505", "id"=>"293267505"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 1.5ms)

 (0.3ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$XODm/JF5CZ6BHztYiXyoj.IxF3b52h/Tmk6i7sGLLqIHnChdfetCe"], ["created_at", "2018-11-07 23:59:25.855743"], ["updated_at", "2018-11-07 23:59:25.855743"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 249.1ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2VpTtTa2XZIYz7MhnjIRzukDUAV0c40RdYqlu8D/afZ.TQ2m1BhRO"], ["created_at", "2018-11-07 23:59:26.273092"], ["updated_at", "2018-11-07 23:59:26.273092"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$28PKsWLdS4WUJiVj8hvx9eenlb9chyPSCB3aLV6ugIhn7FDDC1pHy"], ["created_at", "2018-11-07 23:59:26.449336"], ["updated_at", "2018-11-07 23:59:26.449336"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267508"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$1PT/EkmHm7y934C98dTXpOlKMwaWdSarbsNBt6ieb7lhfpFk3HbPS"], ["created_at", "2018-11-07 23:59:26.625297"], ["updated_at", "2018-11-07 23:59:26.625297"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "user"=>"293267509", "id"=>"293267509"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 1.1ms)

 (0.5ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$A3uWsB8XqCQR6Iv2CxZbX.zM1tbPp0C0wJ1rU9GVtjrWzIQNLSBby"], ["created_at", "2018-11-08 00:00:07.724023"], ["updated_at", "2018-11-08 00:00:07.724023"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 248.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lM0u2.cEEgtT4c.LiKzs2O3CvVr8byggPlQ7gPMw14nv6iY/Kf8p6"], ["created_at", "2018-11-08 00:00:08.141632"], ["updated_at", "2018-11-08 00:00:08.141632"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$l18KWkAgjdO5yGUDZvCuPeLoI8YbFMtnouy1ziYS.vgFvENVd8jru"], ["created_at", "2018-11-08 00:00:08.321136"], ["updated_at", "2018-11-08 00:00:08.321136"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267512"}

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$8mLkF7teMpqaH9tQO/M9pu1G77xBm3xTGOXzQt0OD9YpiwOAyjBqO"], ["created_at", "2018-11-08 00:00:08.499468"], ["updated_at", "2018-11-08 00:00:08.499468"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267513", "id"=>"293267513"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.8ms)

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$OyJEi6vgj6QK4jvXueDTfu1lLIxBFVBPm4L4bmL9nMhC2Z551TsyC"], ["created_at", "2018-11-08 00:01:12.650447"], ["updated_at", "2018-11-08 00:01:12.650447"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 252.8ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2U0.ou6bkl7wOqDIO/hFAu2Qx10CCySlzYZpNJO9WF2QQY7Muc5l2"], ["created_at", "2018-11-08 00:01:13.073346"], ["updated_at", "2018-11-08 00:01:13.073346"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3YHsDIWOiuT1GgFWRHsNieVq20qJNJq5WG8qyDd1SUSX0k.AKRobG"], ["created_at", "2018-11-08 00:01:13.249822"], ["updated_at", "2018-11-08 00:01:13.249822"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267516"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$mac.KaWg9/WVLvqk4CQV5uByGQPhZbgN9WuzurtYnfrUUuNFT0E.C"], ["created_at", "2018-11-08 00:01:13.427555"], ["updated_at", "2018-11-08 00:01:13.427555"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267517", "id"=>"293267517"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ER5GNJGX9KN5nSZJpJ1txe8KOQS9557dFH5UPdrMz58tt7zeG9whe"], ["created_at", "2018-11-08 00:01:57.773752"], ["updated_at", "2018-11-08 00:01:57.773752"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 252.4ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lbbBcuLVF8qasKnTgEFnJ.4UnvEQRTKM0OJhbfLU4uNAyXpm2a.NS"], ["created_at", "2018-11-08 00:01:58.196580"], ["updated_at", "2018-11-08 00:01:58.196580"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$uxlCFa1hmt340dpcAxI.Kuyqi93gSm/7PDEw4mb915aDP5SX5APSO"], ["created_at", "2018-11-08 00:01:58.375534"], ["updated_at", "2018-11-08 00:01:58.375534"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267520"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$N0J5LsYjav.AwmLhzTxBp.nKv7zDkNMxCdE01aTo4t2oSJtOVmXn2"], ["created_at", "2018-11-08 00:01:58.558261"], ["updated_at", "2018-11-08 00:01:58.558261"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267521", "id"=>"293267521"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$W33GMXrA66ZKy/ude2uAJetL7X1JrY.GwPGRpRzOb4uOMs/2I3qdm"], ["created_at", "2018-11-08 00:02:19.248914"], ["updated_at", "2018-11-08 00:02:19.248914"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 253.7ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$X6kLIdiRPquJ6Q4HTerl5eAq/FDpvZUtc0x.KbdyBVtSevikZ5rju"], ["created_at", "2018-11-08 00:02:19.674927"], ["updated_at", "2018-11-08 00:02:19.674927"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$gE.DjFCZ6.X7Xai9VJ7m/.mz1OwSOzQMd6WmZKyhz/tQHSw0HaRe."], ["created_at", "2018-11-08 00:02:19.855093"], ["updated_at", "2018-11-08 00:02:19.855093"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267524"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$QPoFs6//Zh7Iy9aOj4aSoexJZXpoQb6MFbHAux3JKVo1YhLsr0Eze"], ["created_at", "2018-11-08 00:02:20.033359"], ["updated_at", "2018-11-08 00:02:20.033359"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267525", "id"=>"293267525"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$4o4kjRHVxUryX8IRSm.1ceUvQXU/SfZOLHEI7ECSvBAE2YqWnZ0DW"], ["created_at", "2018-11-08 00:02:29.293940"], ["updated_at", "2018-11-08 00:02:29.293940"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 267.5ms

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$c0CkGqQccykbh7BZFVg2w.JDoZ/UsE3ORWee0xLMrvLyRCREOjM3S"], ["created_at", "2018-11-08 00:02:29.774679"], ["updated_at", "2018-11-08 00:02:29.774679"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$LSbyY1d4Mdw/3HXWIX1WoO6u1LwFuoLTBiBhks16/mv5S.F1y4nZq"], ["created_at", "2018-11-08 00:02:29.952729"], ["updated_at", "2018-11-08 00:02:29.952729"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"user"=>"293267528"}

Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$nsxr/UA/ZfhyuXFB3WqFyeQHPGOJLzrGZfoQleb5vvtomhNDmmB56"], ["created_at", "2018-11-08 00:02:30.129431"], ["updated_at", "2018-11-08 00:02:30.129431"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267529", "id"=>"293267529"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.9ms)

 (0.4ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$L/fDifUwPZ/hcCjVAcHCLeinYZCSRR7A1ZWa5OgOajewJMfzDJFZy"], ["created_at", "2018-11-08 00:04:40.013517"], ["updated_at", "2018-11-08 00:04:40.013517"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 247.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$eMqM5.TCrmnrOl0pe/2uo.eVw82V06zy/peDmptslAHAcK1fWw/Sy"], ["created_at", "2018-11-08 00:04:40.431331"], ["updated_at", "2018-11-08 00:04:40.431331"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZTpu37hXHDcflxIFf6hdlempcP8VqMuDvCUq7xDYD0zRPuQIlWgh2"], ["created_at", "2018-11-08 00:04:40.609278"], ["updated_at", "2018-11-08 00:04:40.609278"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$SvXTFkJebogLeM4CEpToUec.Ngvlhxe9i51qMmsw406H7X8AH8Wly"], ["created_at", "2018-11-08 00:04:40.826639"], ["updated_at", "2018-11-08 00:04:40.826639"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267533", "id"=>"293267533"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$XqR38hPLrB62eEVA.DxFO.G91QnmRdRcSb0jV/JbJq2.iTdBEwYWm"], ["created_at", "2018-11-08 00:04:55.577708"], ["updated_at", "2018-11-08 00:04:55.577708"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 247.8ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bJvCMu5XxrGW3GHOtY1YZ.Vr7HTS1GlcpAnFSC3XniPkOPdoXSS8S"], ["created_at", "2018-11-08 00:04:56.002287"], ["updated_at", "2018-11-08 00:04:56.002287"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FfSdcrBJ3.asO3FVrIp04OPDQDDoNU4M7dNnjDmITvCeB6yvJP6Ce"], ["created_at", "2018-11-08 00:04:56.188684"], ["updated_at", "2018-11-08 00:04:56.188684"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$krqn8m2V28sdHhbmbk0.nO.b0.aSZcgCTYJTNKR3axN8K3dZEK1G6"], ["created_at", "2018-11-08 00:04:56.365715"], ["updated_at", "2018-11-08 00:04:56.365715"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267537", "id"=>"293267537"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$VQ3fjNoQnjV4SZ13JCDB7.4Q41VixJa935Zjjto7BqDrORXzZlpLa"], ["created_at", "2018-11-08 00:11:33.597064"], ["updated_at", "2018-11-08 00:11:33.597064"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 245.8ms

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Fsvv2prvVBrSdJGab2R5huQBKLqMmziC6.b7afvScrq4C07hcxZFW"], ["created_at", "2018-11-08 00:11:34.018493"], ["updated_at", "2018-11-08 00:11:34.018493"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6PutApPt8q5VS/6FmJ.5D.QjTb5Zg839djrSnYXoWTMOydZhDQPnK"], ["created_at", "2018-11-08 00:11:34.194137"], ["updated_at", "2018-11-08 00:11:34.194137"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267540"}

Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$jHO6ASuL9esH6j420WU1O.4KqD9by9TEuFtfE5oMkWUHa5sCtQRZO"], ["created_at", "2018-11-08 00:11:34.366995"], ["updated_at", "2018-11-08 00:11:34.366995"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267541", "id"=>"293267541"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$r3ZYOC.KZiwvEdQQjCLFGupFszjj8e9DiYYLE4/99nSu7uwf1eCmi"], ["created_at", "2018-11-08 00:12:13.436077"], ["updated_at", "2018-11-08 00:12:13.436077"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.7ms

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$LlE8B8pPSC15qO2wRkwHtuR5ZPa2zDmn.T5Hk2NIgef8peewm.h3a"], ["created_at", "2018-11-08 00:12:13.857030"], ["updated_at", "2018-11-08 00:12:13.857030"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$vsK0iQdjO5HWu3m2w72StOYT3m1g1m3YZG7ClUkiJqfLNfpUDDqHW"], ["created_at", "2018-11-08 00:12:14.035665"], ["updated_at", "2018-11-08 00:12:14.035665"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267544"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "ryqTS-9WSnB0GCTxj4l5iA"], ["updated_at", "2018-11-08 00:12:14.050502"], ["id", 293267544]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:12:14.054316"], ["reset_sent_at", "2018-11-08 00:12:14.053813"], ["id", 293267544]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.5ms Sent mail to teste@unb.com.br (7541.1ms) Date: Wed, 07 Nov 2018 22:12:14 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be37f5e108d7_4f7cfbd0d85024@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be37f5efbc9_4f7cfbd0d8498b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be37f5efbc9_4f7cfbd0d8498b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/ryqTS-9WSnB0GCTxj4l5iA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be37f5efbc9_4f7cfbd0d8498b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/ryqTS-9WSnB0GCTxj4l5iA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be37f5efbc9_4f7cfbd0d8498b–

Redirected to test.host/login Completed 302 Found in 7565ms (ActiveRecord: 2.7ms)

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (1.1ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$0LWkvHTpLwlw2C48WZB4AuzgZWz3fcSzZRJHFMDvbqnjhLQnFmZYa"], ["created_at", "2018-11-08 00:12:21.826843"], ["updated_at", "2018-11-08 00:12:21.826843"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267545", "id"=>"293267545"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$dvYPGYYlcFKV3ymhZtZL5ObKsBqzvoua2tT4LIpffko/TeqJTqzyG"], ["created_at", "2018-11-08 00:13:50.140306"], ["updated_at", "2018-11-08 00:13:50.140306"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 253.1ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$nyDbnrcxP.eZ5sXcUiS9FOw.ZGuVnZXe8BjfWL99QD/CClgQnVdDG"], ["created_at", "2018-11-08 00:13:50.566442"], ["updated_at", "2018-11-08 00:13:50.566442"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 16.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Q5U.9gUqb1MocAffhotjS.WtfLW3i5n6SxhjWeb0WDGttcXqObgEm"], ["created_at", "2018-11-08 00:13:50.755176"], ["updated_at", "2018-11-08 00:13:50.755176"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267548"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "7s5i362tqiCu7rN13qy7ow"], ["updated_at", "2018-11-08 00:13:50.770882"], ["id", 293267548]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:13:50.775116"], ["reset_sent_at", "2018-11-08 00:13:50.774570"], ["id", 293267548]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.6ms Sent mail to teste@unb.com.br (3085.8ms) Date: Wed, 07 Nov 2018 22:13:50 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be37fbec08cb_5f29bbd0c8510fb@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be37fbebfc0f_5f29bbd0c850992";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be37fbebfc0f_5f29bbd0c850992 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/7s5i362tqiCu7rN13qy7ow/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be37fbebfc0f_5f29bbd0c850992 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/7s5i362tqiCu7rN13qy7ow/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be37fbebfc0f_5f29bbd0c850992–

Redirected to test.host/login Completed 302 Found in 3111ms (ActiveRecord: 3.3ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$DU.gJWSu4llGKb3KdCPt0Ow0bm.4X2nOilYSC3neMZmVzGSdSwU2a"], ["created_at", "2018-11-08 00:13:54.082816"], ["updated_at", "2018-11-08 00:13:54.082816"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267549"}, "id"=>"293267549"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$wbxNYY2IIik4K99N.bRZWuXXlejgR7oOtK57TOm0xeb9CqDHWOu0y"], ["created_at", "2018-11-08 00:14:08.773939"], ["updated_at", "2018-11-08 00:14:08.773939"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 279.6ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$K27JaQFW9lg0.dPHmk2H6uIK4SJSaDxRQQzOyoI2up3XWg3Rf.6/S"], ["created_at", "2018-11-08 00:14:09.225954"], ["updated_at", "2018-11-08 00:14:09.225954"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bkz8j0.E9CM4AoqoGqRHj.tFBRf5aGu85V2eBKYOEsc0WtQwXl9si"], ["created_at", "2018-11-08 00:14:09.400685"], ["updated_at", "2018-11-08 00:14:09.400685"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267552"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "BpJV3DHxDQA_hdLJFJu-zg"], ["updated_at", "2018-11-08 00:14:09.414753"], ["id", 293267552]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:14:09.418418"], ["reset_sent_at", "2018-11-08 00:14:09.417962"], ["id", 293267552]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.7ms Sent mail to teste@unb.com.br (3185.3ms) Date: Wed, 07 Nov 2018 22:14:09 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be37fd16936f_6263a8d0cc58615@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be37fd168681_6263a8d0cc58567";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be37fd168681_6263a8d0cc58567 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/BpJV3DHxDQA_hdLJFJu-zg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be37fd168681_6263a8d0cc58567 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/BpJV3DHxDQA_hdLJFJu-zg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be37fd168681_6263a8d0cc58567–

Redirected to test.host/login Completed 302 Found in 3208ms (ActiveRecord: 2.7ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$m4.SLd7ooRaiRlmgJcUZwuFewnPBfna3RQie1A1pmQsWgsfnr00U2"], ["created_at", "2018-11-08 00:14:12.878807"], ["updated_at", "2018-11-08 00:14:12.878807"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "user"=>"293267553"}, "id"=>"293267553"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$h6J8AfCZe8KMD9mUbAm.fuT8cBoro6zFwvb81GzOXse/9FzpJke6W"], ["created_at", "2018-11-08 00:14:23.544105"], ["updated_at", "2018-11-08 00:14:23.544105"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 267.1ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$QefgGgamMN/oUcR3ATZ1vO3Xl0gCsmv/JkmdaOQTtlB46.DAAAkxq"], ["created_at", "2018-11-08 00:14:23.979538"], ["updated_at", "2018-11-08 00:14:23.979538"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$VUCgeTeGNHEeRvk77MUPv.zmmAD2hnq/UhHycFLNSB/v6xZnwvMgq"], ["created_at", "2018-11-08 00:14:24.154457"], ["updated_at", "2018-11-08 00:14:24.154457"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267556"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "7sSmFwHILS0-BW8N-EONNQ"], ["updated_at", "2018-11-08 00:14:24.168810"], ["id", 293267556]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:14:24.172543"], ["reset_sent_at", "2018-11-08 00:14:24.172015"], ["id", 293267556]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms Sent mail to teste@unb.com.br (3160.6ms) Date: Wed, 07 Nov 2018 22:14:24 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be37fe02d232_6594d0d0cc34071@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be37fe02c744_6594d0d0cc3392f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be37fe02c744_6594d0d0cc3392f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/7sSmFwHILS0-BW8N-EONNQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be37fe02c744_6594d0d0cc3392f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/7sSmFwHILS0-BW8N-EONNQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be37fe02c744_6594d0d0cc3392f–

Redirected to test.host/login Completed 302 Found in 3185ms (ActiveRecord: 2.4ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$u8aVvYtpQLBnJy5ZVYscL.LRRxtBdYlJQsy2UB7tFnufd3CN29rH2"], ["created_at", "2018-11-08 00:14:27.609344"], ["updated_at", "2018-11-08 00:14:27.609344"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267557"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Gg/eER6.cVaIP1hm4GuDDONPMTIYPa6rewOtIv1pDMja.KtscnXju"], ["created_at", "2018-11-08 00:15:23.454234"], ["updated_at", "2018-11-08 00:15:23.454234"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 247.9ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$zPVmOv8CHx/jdSs3L3Vxv.ZHXfzNPpq61NJhoiij9HT38xbFQFJxK"], ["created_at", "2018-11-08 00:15:23.869897"], ["updated_at", "2018-11-08 00:15:23.869897"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$HiNbimWE3YQWMt4.nWvDR.1sTB80kU89fWF9s0sk0EVZmK.HI4ADy"], ["created_at", "2018-11-08 00:15:24.046000"], ["updated_at", "2018-11-08 00:15:24.046000"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267560"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "nPSEzt14WfLZahYeusYAnA"], ["updated_at", "2018-11-08 00:15:24.060551"], ["id", 293267560]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:15:24.064051"], ["reset_sent_at", "2018-11-08 00:15:24.063514"], ["id", 293267560]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms Sent mail to teste@unb.com.br (3095.2ms) Date: Wed, 07 Nov 2018 22:15:24 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3801c12c06_6f0ae550d85966b@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3801c11f22_6f0ae550d859514";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3801c11f22_6f0ae550d859514 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/nPSEzt14WfLZahYeusYAnA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3801c11f22_6f0ae550d859514 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/nPSEzt14WfLZahYeusYAnA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3801c11f22_6f0ae550d859514–

Redirected to test.host/login Completed 302 Found in 3118ms (ActiveRecord: 1.6ms)

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$Rd4o8kndr/XDN0XmywEsT.56zrhgMR4LFdRb6xXjNGmlEtE7aCJBi"], ["created_at", "2018-11-08 00:15:27.436787"], ["updated_at", "2018-11-08 00:15:27.436787"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267561"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$KuTgu8rW9gjwtOa0kzJsN.HpBHbalGRQ1F78myRcPQy4PQbKt.bbK"], ["created_at", "2018-11-08 00:16:06.447725"], ["updated_at", "2018-11-08 00:16:06.447725"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 252.3ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$20nwUCWnpGDvdSnY4p0r7.R28hiDCCl0SQM9WR1pF8vZX32fr4Tgi"], ["created_at", "2018-11-08 00:16:06.867809"], ["updated_at", "2018-11-08 00:16:06.867809"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$YD.4aZXZ13kkgy..AUR7deMuZaorq2ydK0pM9r26cgv/pXGOICQY6"], ["created_at", "2018-11-08 00:16:07.043457"], ["updated_at", "2018-11-08 00:16:07.043457"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267564"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "J1UzV9oDdqx2pwRm9BUkFQ"], ["updated_at", "2018-11-08 00:16:07.056923"], ["id", 293267564]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:16:07.060265"], ["reset_sent_at", "2018-11-08 00:16:07.059770"], ["id", 293267564]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 9.1ms Sent mail to teste@unb.com.br (3085.1ms) Date: Wed, 07 Nov 2018 22:16:07 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3804711baf_755fa490d41812@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3804710f8f_755fa490d41719";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3804710f8f_755fa490d41719 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/J1UzV9oDdqx2pwRm9BUkFQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3804710f8f_755fa490d41719 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/J1UzV9oDdqx2pwRm9BUkFQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3804710f8f_755fa490d41719–

Redirected to test.host/login Completed 302 Found in 3107ms (ActiveRecord: 1.7ms)

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$xI5IRflRpo.D6Y5wpxQN5Ofg3fWB2tIYkOBXYfOLstuoD4PZrQnp2"], ["created_at", "2018-11-08 00:16:10.419404"], ["updated_at", "2018-11-08 00:16:10.419404"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267565"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$rBIIsVCKM2px1zhUOD5EzOqL/xMHvRZQqNGb8HR5LHZjWoWUk87Jy"], ["created_at", "2018-11-08 00:16:34.259267"], ["updated_at", "2018-11-08 00:16:34.259267"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 265.9ms

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$.OM2WmOLnSI/I7dopAv69.brNWs4PhebMpaX92bb1H20zWTiaoKlK"], ["created_at", "2018-11-08 00:16:34.703248"], ["updated_at", "2018-11-08 00:16:34.703248"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$E7F0CPR8vOtZ1YmQHQLqS.djnkEl9xOtSf.Cziy80tE.g1lz/QAMG"], ["created_at", "2018-11-08 00:16:34.877779"], ["updated_at", "2018-11-08 00:16:34.877779"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267568"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "3PYHAHbXwrSYNEzAF63t1w"], ["updated_at", "2018-11-08 00:16:34.891250"], ["id", 293267568]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:16:34.894606"], ["reset_sent_at", "2018-11-08 00:16:34.894115"], ["id", 293267568]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms Sent mail to teste@unb.com.br (3074.2ms) Date: Wed, 07 Nov 2018 22:16:34 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38062dd715_7888aed0d0666c@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38062dca9a_7888aed0d0665b4";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38062dca9a_7888aed0d0665b4 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/3PYHAHbXwrSYNEzAF63t1w/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38062dca9a_7888aed0d0665b4 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/3PYHAHbXwrSYNEzAF63t1w/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38062dca9a_7888aed0d0665b4–

Redirected to test.host/login Completed 302 Found in 3096ms (ActiveRecord: 1.7ms)

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$Z/vwgK6WkSu/OSHFyn8DgOr2xa0k7WeF/2JKFhVlOwVOvTz9GcT2O"], ["created_at", "2018-11-08 00:16:38.251380"], ["updated_at", "2018-11-08 00:16:38.251380"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267569"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$/01Vcn/Nx7FrIDCJXH9hwOImuwIPXv2iP/QBNxyDNUJYCpPiOIZz2"], ["created_at", "2018-11-08 00:17:11.760174"], ["updated_at", "2018-11-08 00:17:11.760174"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 266.8ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$.XBIfAunmtO61g5OMKT2HuYZTmU8y9VLkGeES9Z4lEbKUCaB5WPim"], ["created_at", "2018-11-08 00:17:12.215787"], ["updated_at", "2018-11-08 00:17:12.215787"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TMnUXQBbA0BjlMbHZT13PezY/QmIM.a5ui.EUGnVhcFgfOpGBoEhe"], ["created_at", "2018-11-08 00:17:12.391842"], ["updated_at", "2018-11-08 00:17:12.391842"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267572"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "cbVTy_CAG_SyLt33IqepvQ"], ["updated_at", "2018-11-08 00:17:12.408148"], ["id", 293267572]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:17:12.412472"], ["reset_sent_at", "2018-11-08 00:17:12.411805"], ["id", 293267572]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.7ms Sent mail to teste@unb.com.br (3230.8ms) Date: Wed, 07 Nov 2018 22:17:12 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38088681ed_7ebb8570c829211@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be380886755a_7ebb8570c82914a";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be380886755a_7ebb8570c82914a Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/cbVTy_CAG_SyLt33IqepvQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be380886755a_7ebb8570c82914a Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/cbVTy_CAG_SyLt33IqepvQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be380886755a_7ebb8570c82914a–

Redirected to test.host/login Completed 302 Found in 3258ms (ActiveRecord: 2.8ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$xRzu8OLH1QnCDzswKANPPeE686eXu3pTp8bqCX0kIxtCDuFZPwBbK"], ["created_at", "2018-11-08 00:17:15.920972"], ["updated_at", "2018-11-08 00:17:15.920972"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267573"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ILcg6vMdTM97DN0wuK/SLeGnKwzlfj.GrTN0AcUKX2V/Qz3EeyHgS"], ["created_at", "2018-11-08 00:18:34.152205"], ["updated_at", "2018-11-08 00:18:34.152205"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 259.7ms

 (0.6ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$l4Y.e8SE17kLNdc2kiwpNuQlkkmDPmOdVYQRSSrs4hwR/E2dNLdQK"], ["created_at", "2018-11-08 00:18:34.595957"], ["updated_at", "2018-11-08 00:18:34.595957"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$AkPWEanDJC.j9OqBwpfFJesJSLam8VmMrJxe3xy4rJPbuJAFFEVYG"], ["created_at", "2018-11-08 00:18:34.770805"], ["updated_at", "2018-11-08 00:18:34.770805"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267576"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "x4D562jx_IUnHbDNrWlR5g"], ["updated_at", "2018-11-08 00:18:34.784515"], ["id", 293267576]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:18:34.787929"], ["reset_sent_at", "2018-11-08 00:18:34.787478"], ["id", 293267576]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms Sent mail to teste@unb.com.br (3050.8ms) Date: Wed, 07 Nov 2018 22:18:34 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be380dac3552_cb2db90d479947@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be380dac2a31_cb2db90d47989f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be380dac2a31_cb2db90d47989f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/x4D562jx_IUnHbDNrWlR5g/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be380dac2a31_cb2db90d47989f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/x4D562jx_IUnHbDNrWlR5g/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be380dac2a31_cb2db90d47989f–

Redirected to test.host/login Completed 302 Found in 3073ms (ActiveRecord: 1.7ms)

 (0.6ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$Sbo1.VeHdof169hUZuQJaexmobe4Tt3uv7iuIN1ErgNWfK97HW5x2"], ["created_at", "2018-11-08 00:18:38.110101"], ["updated_at", "2018-11-08 00:18:38.110101"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267577"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "n6TSO31Jv7VKX21GMNoLtw"], ["updated_at", "2018-11-08 00:18:38.115489"], ["id", 293267577]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:18:38.118378"], ["reset_sent_at", "2018-11-08 00:18:38.117845"], ["id", 293267577]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.3ms Sent mail to naoexiste@naoexiste.com.br (3102.8ms) Date: Wed, 07 Nov 2018 22:18:38 -0200 From: noreply@example.com To: naoexiste@naoexiste.com.br Message-ID: <5be380de1fcf6_cb2db90d48012c@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be380de1f244_cb2db90d4800c8";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be380de1f244_cb2db90d4800c8 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/n6TSO31Jv7VKX21GMNoLtw/edit?email=3D= naoexiste%40naoexiste.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be380de1f244_cb2db90d4800c8 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/n6TSO31Jv7VKX21GMNoLtw/e= dit?email=3Dnaoexiste%40naoexiste.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be380de1f244_cb2db90d4800c8–

Redirected to test.host/login Completed 302 Found in 3120ms (ActiveRecord: 2.4ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$baX4tYTKCo2JTotopLXxpuujm.khLjVeGKh7Pls9PqMvbpY/i8K7y"], ["created_at", "2018-11-08 00:18:41.486707"], ["updated_at", "2018-11-08 00:18:41.486707"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267578"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$IrHi5HkDF3rF71IJo0My1e0fAb..I8ZgZyw4CiAtYZ1/QvG9dYmQe"], ["created_at", "2018-11-08 00:19:04.319284"], ["updated_at", "2018-11-08 00:19:04.319284"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.6ms

 (0.5ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$BIsFJ4qrELE7EzwNxDbSIOgqtICIx9panTb8npyByr.uzQNz/ktIe"], ["created_at", "2018-11-08 00:19:04.788615"], ["updated_at", "2018-11-08 00:19:04.788615"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 26.1ms

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$LVtbuiabRMmguWTW1LfOe.RfdfIGTRtGoXikxMJ8U2c5kMG.efwnq"], ["created_at", "2018-11-08 00:19:05.053138"], ["updated_at", "2018-11-08 00:19:05.053138"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267581"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "2_XTOsFDNHt_c-BthEviFg"], ["updated_at", "2018-11-08 00:19:05.068050"], ["id", 293267581]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:19:05.071675"], ["reset_sent_at", "2018-11-08 00:19:05.071147"], ["id", 293267581]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.6ms Sent mail to teste@unb.com.br (3088.2ms) Date: Wed, 07 Nov 2018 22:19:05 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be380f914cd1_13039cd0d88229a@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be380f914018_13039cd0d8821c6";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be380f914018_13039cd0d8821c6 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/2_XTOsFDNHt_c-BthEviFg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be380f914018_13039cd0d8821c6 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/2_XTOsFDNHt_c-BthEviFg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be380f914018_13039cd0d8821c6–

Redirected to test.host/login Completed 302 Found in 3112ms (ActiveRecord: 2.5ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$q9zTC1gkD7Jz4VOX6toY9eQPZ69lI6W6Kh4Zkwz1UheyBM8EWOH5K"], ["created_at", "2018-11-08 00:19:08.437275"], ["updated_at", "2018-11-08 00:19:08.437275"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267582"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.2ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "5FnL1tj8EwVZSqCYt7Tpfg"], ["updated_at", "2018-11-08 00:19:08.443518"], ["id", 293267582]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:19:08.447364"], ["reset_sent_at", "2018-11-08 00:19:08.446691"], ["id", 293267582]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 22.6ms Sent mail to naoexiste@naoexiste.com.br (3188.4ms) Date: Wed, 07 Nov 2018 22:19:08 -0200 From: noreply@example.com To: naoexiste@naoexiste.com.br Message-ID: <5be380fc743ca_13039cd0d882447@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be380fc72ded_13039cd0d8823a1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be380fc72ded_13039cd0d8823a1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/5FnL1tj8EwVZSqCYt7Tpfg/edit?email=3D= naoexiste%40naoexiste.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be380fc72ded_13039cd0d8823a1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/5FnL1tj8EwVZSqCYt7Tpfg/e= dit?email=3Dnaoexiste%40naoexiste.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be380fc72ded_13039cd0d8823a1–

Redirected to test.host/login Completed 302 Found in 3223ms (ActiveRecord: 3.8ms)

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "naoexiste@naoexiste.com.br"], ["encrypted_password", "$2a$11$GniJD/ZM9C61rE77cuZyeuDNjM.KJw7MS0Fy8pGc250tCKCdjQRii"], ["created_at", "2018-11-08 00:19:11.933242"], ["updated_at", "2018-11-08 00:19:11.933242"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267583"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)

 (0.1ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$UEPeyPSuAM0O7tUs8gvfJenG9YBwHexU4Fnz89W1FJ1YKx4RBcx02"], ["created_at", "2018-11-08 00:19:49.518085"], ["updated_at", "2018-11-08 00:19:49.518085"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 247.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$yY.BHCc4io5b1f5kha8l5OyoL3uQlGAQw3iTbN.2pdJ7P15eYl3Mi"], ["created_at", "2018-11-08 00:19:49.935138"], ["updated_at", "2018-11-08 00:19:49.935138"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.5ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$tB9yPyIXuOMiuR0YmvgWYeoIJLN1tIKuBj3UyV6yF4McGE3y7zPOK"], ["created_at", "2018-11-08 00:19:50.114631"], ["updated_at", "2018-11-08 00:19:50.114631"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267586"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "u_dGPtd64SaAjdFZa3QsGg"], ["updated_at", "2018-11-08 00:19:50.137407"], ["id", 293267586]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:19:50.141950"], ["reset_sent_at", "2018-11-08 00:19:50.141221"], ["id", 293267586]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 11.4ms Sent mail to teste@unb.com.br (3258.6ms) Date: Wed, 07 Nov 2018 22:19:50 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38126269b6_19e33210cc573e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3812625a3e_19e33210cc56a1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3812625a3e_19e33210cc56a1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/u_dGPtd64SaAjdFZa3QsGg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3812625a3e_19e33210cc56a1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/u_dGPtd64SaAjdFZa3QsGg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3812625a3e_19e33210cc56a1–

Redirected to test.host/login Completed 302 Found in 3288ms (ActiveRecord: 2.1ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$FzkHzJ1Fnh72CtZcKaFG1u.XxvC.MNwbtLwJWeYUIYyca3DAZDMWS"], ["created_at", "2018-11-08 00:19:53.671161"], ["updated_at", "2018-11-08 00:19:53.671161"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267587"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.cz"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$RhQZBMDM6gIDnzy.iRrsHeGmNjI1txjiGTAjmWkV5Cpc2NjTNtk8y"], ["created_at", "2018-11-08 00:19:53.854571"], ["updated_at", "2018-11-08 00:19:53.854571"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267588"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Fnj6Db9DhHiPhJlqBbojd.4u.E7d5yNwYAC9MdmY49pYToLISs.MC"], ["created_at", "2018-11-08 00:21:53.137250"], ["updated_at", "2018-11-08 00:21:53.137250"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267589"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "BfEDsMNL839wL3uBrhNRLA"], ["updated_at", "2018-11-08 00:21:53.153063"], ["id", 293267589]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:21:53.157549"], ["reset_sent_at", "2018-11-08 00:21:53.156894"], ["id", 293267589]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 251.6ms Sent mail to teste@unb.com.br (3167.8ms) Date: Wed, 07 Nov 2018 22:21:53 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be381a166f05_2d5410450c8426a5@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be381a16537d_2d5410450c8425c2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be381a16537d_2d5410450c8425c2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/BfEDsMNL839wL3uBrhNRLA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be381a16537d_2d5410450c8425c2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/BfEDsMNL839wL3uBrhNRLA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be381a16537d_2d5410450c8425c2–

Redirected to test.host/login Completed 302 Found in 3441ms (ActiveRecord: 2.3ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$aaL0zcanSXSPhK71/o.SteEAMI0ZmJWxzsCLKNaIzQloEnv0Hgona"], ["created_at", "2018-11-08 00:21:56.847107"], ["updated_at", "2018-11-08 00:21:56.847107"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$zj7xzK0.oc71apmlVdoce.pmS5Lpxn5eq/6i1ackU1DaRFtpGDy4G"], ["created_at", "2018-11-08 00:21:57.022491"], ["updated_at", "2018-11-08 00:21:57.022491"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$3rFPO.K1KhGF.hiLq.Q89.JF4ZlfOwramtkDpE3mZMNcTz59ZmQTq"], ["created_at", "2018-11-08 00:21:57.186096"], ["updated_at", "2018-11-08 00:21:57.186096"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267592"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@naoexiste.cz"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.7ms)

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$pbV6y0bSEa08rJ6YtqiAQ.sUT5pEzbn73u90w5IzxLdl1zGXOhTuC"], ["created_at", "2018-11-08 00:21:57.368450"], ["updated_at", "2018-11-08 00:21:57.368450"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267593"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$5.Mkp.oGha.ZJEu/.IORh.ptI2KHvw4LWjXOjtUjE3F0d9GOzgx4O"], ["created_at", "2018-11-08 00:23:09.145011"], ["updated_at", "2018-11-08 00:23:09.145011"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267594"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "wRdEenwlgYtR25oHwY9M5g"], ["updated_at", "2018-11-08 00:23:09.158264"], ["id", 293267594]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:23:09.161732"], ["reset_sent_at", "2018-11-08 00:23:09.161253"], ["id", 293267594]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 266.8ms Sent mail to teste@unb.com.br (3498.7ms) Date: Wed, 07 Nov 2018 22:23:09 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be381ed6b327_3a0c5f10cc989a@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be381ed69bbd_3a0c5f10cc98873";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be381ed69bbd_3a0c5f10cc98873 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/wRdEenwlgYtR25oHwY9M5g/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be381ed69bbd_3a0c5f10cc98873 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/wRdEenwlgYtR25oHwY9M5g/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be381ed69bbd_3a0c5f10cc98873–

Redirected to test.host/login Completed 302 Found in 3783ms (ActiveRecord: 1.9ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$hai/vJ6TWMreuqYiu/iWNuiaACejfEiD5gOGrfMidRC4dA7erIDXu"], ["created_at", "2018-11-08 00:23:13.199379"], ["updated_at", "2018-11-08 00:23:13.199379"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.5ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$dVI9NhXW3vk6BKuB35dm7u0xBychjIkLFSkbsjId0kohX6LOY9B2C"], ["created_at", "2018-11-08 00:23:13.376912"], ["updated_at", "2018-11-08 00:23:13.376912"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$.2sTDd07lHbHf1ogltlxje8AWgfqrV06Wf.CY9Y9lanmGTn6mkR3y"], ["created_at", "2018-11-08 00:23:13.544666"], ["updated_at", "2018-11-08 00:23:13.544666"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267597"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "tcKz1MhZ9yoikNi1lCPHgw"], ["updated_at", "2018-11-08 00:23:13.551894"], ["id", 293267597]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:23:13.555543"], ["reset_sent_at", "2018-11-08 00:23:13.554883"], ["id", 293267597]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.0ms Sent mail to teste2@unb.com.br (3070.3ms) Date: Wed, 07 Nov 2018 22:23:13 -0200 From: noreply@example.com To: teste2@unb.com.br Message-ID: <5be381f18b426_3a0c5f10cc992a2@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be381f18a606_3a0c5f10cc991d8";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be381f18a606_3a0c5f10cc991d8 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/tcKz1MhZ9yoikNi1lCPHgw/edit?email=3D= teste2%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be381f18a606_3a0c5f10cc991d8 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/tcKz1MhZ9yoikNi1lCPHgw/e= dit?email=3Dteste2%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be381f18a606_3a0c5f10cc991d8–

Redirected to test.host/login Completed 302 Found in 3092ms (ActiveRecord: 3.1ms)

 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$oD1X4VkGYdsA.wOIV93NmeWMz9atxHDfvwd9V4QFXLsZ1/xyEbOpu"], ["created_at", "2018-11-08 00:23:16.904872"], ["updated_at", "2018-11-08 00:23:16.904872"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267598"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$oXF3Ygz3UhtE76M7DaqqPujWYSPvQoTeNnkbo2RlKvPytcHq6H/WS"], ["created_at", "2018-11-08 00:24:02.320441"], ["updated_at", "2018-11-08 00:24:02.320441"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267599"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "lnl_423jHLAr9yTL74YC7g"], ["updated_at", "2018-11-08 00:24:02.353314"], ["id", 293267599]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:24:02.359343"], ["reset_sent_at", "2018-11-08 00:24:02.358383"], ["id", 293267599]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 280.5ms Sent mail to teste@unb.com.br (2988.5ms) Date: Wed, 07 Nov 2018 22:24:02 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be382229fe28_435f4910d88038a@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be382229e4a4_435f4910d880281";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be382229e4a4_435f4910d880281 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/lnl_423jHLAr9yTL74YC7g/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be382229e4a4_435f4910d880281 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/lnl_423jHLAr9yTL74YC7g/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be382229e4a4_435f4910d880281–

Redirected to test.host/login Completed 302 Found in 3299ms (ActiveRecord: 3.6ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TcJ3nNLGqvNZsMi/8IlcM.vhJaOSyygm6XMt/zsP7iqeFrdjtxqlW"], ["created_at", "2018-11-08 00:24:05.902419"], ["updated_at", "2018-11-08 00:24:05.902419"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$UeVC3wWeb4jSN4qk8hXZFeMPoIqtLWjckaiSVIBLDRbMD0uWzlR1a"], ["created_at", "2018-11-08 00:24:06.079836"], ["updated_at", "2018-11-08 00:24:06.079836"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$w1lgvG7CB4AkjH.iA3YFLezFg57vAYrBP7P0TWR9ffZO3XnSKml3u"], ["created_at", "2018-11-08 00:24:06.243424"], ["updated_at", "2018-11-08 00:24:06.243424"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267602"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@ctu.cz"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$D6Jah2oO87o8m8Ef2PR1muJ3ShJ5zGa0oJmSCe.QpFBvUZuF7Cz7."], ["created_at", "2018-11-08 00:24:06.423335"], ["updated_at", "2018-11-08 00:24:06.423335"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267603"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (1.5ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZAoEO4iNC3fCqPTX0zpKgOrPTCyko8qtKX0tlVVNmPHR.E76iferq"], ["created_at", "2018-11-08 00:24:49.654544"], ["updated_at", "2018-11-08 00:24:49.654544"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267604"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "V_4rPh_01dmjnh9ZvBotGQ"], ["updated_at", "2018-11-08 00:24:49.670341"], ["id", 293267604]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:24:49.674660"], ["reset_sent_at", "2018-11-08 00:24:49.674021"], ["id", 293267604]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 252.3ms Sent mail to teste@unb.com.br (3246.6ms) Date: Wed, 07 Nov 2018 22:24:49 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38251e5543_499d106d0dc88047@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38251e39ea_499d106d0dc8792c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38251e39ea_499d106d0dc8792c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/V_4rPh_01dmjnh9ZvBotGQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38251e39ea_499d106d0dc8792c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/V_4rPh_01dmjnh9ZvBotGQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38251e39ea_499d106d0dc8792c–

Redirected to test.host/login Completed 302 Found in 3519ms (ActiveRecord: 2.2ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$vnJkp3HwflGc2f7JQ.ehDOFdzDNU1avXTPD6V6xbK4qvyXsP879qy"], ["created_at", "2018-11-08 00:24:53.427165"], ["updated_at", "2018-11-08 00:24:53.427165"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 18.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ATawjAUt6iVEbR9fatn8TOJycvKzPiC95PhzRflFiRPtPG3pnQhc2"], ["created_at", "2018-11-08 00:24:53.624787"], ["updated_at", "2018-11-08 00:24:53.624787"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$ZRKB2P4mkfkbWg9XYf9FjOoxKf4wBt96zrGpTcX6hWTpLsQoKSBMu"], ["created_at", "2018-11-08 00:24:53.792680"], ["updated_at", "2018-11-08 00:24:53.792680"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267607"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$fG69wdMKHk5frUGJLVozke1cYFpLTpALspFWZvpLMMyZwXrWxu5ji"], ["created_at", "2018-11-08 00:24:53.975313"], ["updated_at", "2018-11-08 00:24:53.975313"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267608"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$oof.6PzbSRcZQoj83/4dheoHtDWFupAo.DW9rsd5W1CkrFPWSjvp6"], ["created_at", "2018-11-08 00:26:24.766954"], ["updated_at", "2018-11-08 00:26:24.766954"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267609"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "_lr53u63BWzmXpkMAW7qWA"], ["updated_at", "2018-11-08 00:26:24.792262"], ["id", 293267609]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:26:24.796935"], ["reset_sent_at", "2018-11-08 00:26:24.796266"], ["id", 293267609]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 257.9ms Sent mail to teste@unb.com.br (3344.9ms) Date: Wed, 07 Nov 2018 22:26:25 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be382b110a92_59498210cc115f5@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be382b1ef1a_59498210cc114bc";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be382b1ef1a_59498210cc114bc Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/_lr53u63BWzmXpkMAW7qWA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be382b1ef1a_59498210cc114bc Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/_lr53u63BWzmXpkMAW7qWA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be382b1ef1a_59498210cc114bc–

Redirected to test.host/login Completed 302 Found in 3627ms (ActiveRecord: 2.3ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Zy5QQR2ZsvjntmIos.TT7OjOve7f2pGWafLPMY0D8lMnBU.4K9z02"], ["created_at", "2018-11-08 00:26:28.671506"], ["updated_at", "2018-11-08 00:26:28.671506"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.3ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$zRtXFl6N3PTP0i5QRIgCl.X9H/SPAUVfim67WPHbawf84foZx6WnK"], ["created_at", "2018-11-08 00:26:28.850397"], ["updated_at", "2018-11-08 00:26:28.850397"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$abICUBUoNHmBpI/HGCqYcexEhlt8MY/acl8VDCwQbzbA6qkdU4evW"], ["created_at", "2018-11-08 00:26:29.019792"], ["updated_at", "2018-11-08 00:26:29.019792"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267612"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$iu79x80xDv5OEpdEQnXs.u4LMI/sTGH1skneYoeK1ljsgLs1HQJXq"], ["created_at", "2018-11-08 00:26:29.196351"], ["updated_at", "2018-11-08 00:26:29.196351"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267613"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ujuUF.vFkqKqQNjjcF8uFO/MxWGmzQ2W3GyLHzywGuga2PXEZRsOu"], ["created_at", "2018-11-08 00:27:26.328701"], ["updated_at", "2018-11-08 00:27:26.328701"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267614"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "RRK2xVLnUaThuQps90L3JQ"], ["updated_at", "2018-11-08 00:27:26.344450"], ["id", 293267614]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:27:26.348524"], ["reset_sent_at", "2018-11-08 00:27:26.347861"], ["id", 293267614]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 252.2ms Sent mail to teste@unb.com.br (3195.6ms) Date: Wed, 07 Nov 2018 22:27:26 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be382ee95a0b_629c11f30dc433c0@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be382ee93f45_629c11f30dc432f9";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be382ee93f45_629c11f30dc432f9 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/RRK2xVLnUaThuQps90L3JQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be382ee93f45_629c11f30dc432f9 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/RRK2xVLnUaThuQps90L3JQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be382ee93f45_629c11f30dc432f9–

Redirected to test.host/login Completed 302 Found in 3469ms (ActiveRecord: 1.9ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Pdgqcy2ZguHTnci9/DHOTu9z2HzJqhxSFX9jh7Lsh9SgSoWrfEbKW"], ["created_at", "2018-11-08 00:27:30.068396"], ["updated_at", "2018-11-08 00:27:30.068396"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 9.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bQLarA7G1SGLQHlBksiy/OiR8uk4C9MdF.np0Jdrfwv2lJ2fQ/scm"], ["created_at", "2018-11-08 00:27:30.248124"], ["updated_at", "2018-11-08 00:27:30.248124"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$c8j7h021I6bXiVMjD3zX/O6wyTLZysMHOEMe7UV7b4vwHgcNck1DO"], ["created_at", "2018-11-08 00:27:30.414924"], ["updated_at", "2018-11-08 00:27:30.414924"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267617"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$d14jirAY50LqURLQyWsfG.nLdDvARfZf9XEVd42/9hTWPIeKHZx7y"], ["created_at", "2018-11-08 00:27:30.588059"], ["updated_at", "2018-11-08 00:27:30.588059"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267618"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.7ms)

 (0.5ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$jISd7edieDn5/yBl7mwFCOahVWh.duGueP7G06z4RUhVMrSkxOHTu"], ["created_at", "2018-11-08 00:27:45.036156"], ["updated_at", "2018-11-08 00:27:45.036156"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267619"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "Hy1GAqCEMyUcurvHk3dhfA"], ["updated_at", "2018-11-08 00:27:45.049347"], ["id", 293267619]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:27:45.052741"], ["reset_sent_at", "2018-11-08 00:27:45.052285"], ["id", 293267619]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 250.4ms Sent mail to teste@unb.com.br (3146.0ms) Date: Wed, 07 Nov 2018 22:27:45 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be383014cb25_65c2dfb0d865394@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be383014b239_65c2dfb0d8652d1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be383014b239_65c2dfb0d8652d1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/Hy1GAqCEMyUcurvHk3dhfA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be383014b239_65c2dfb0d8652d1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/Hy1GAqCEMyUcurvHk3dhfA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be383014b239_65c2dfb0d8652d1–

Redirected to test.host/login Completed 302 Found in 3414ms (ActiveRecord: 2.2ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$KxVOR9IofdoS1mH4UXzUq.pm3vxck68NT8b/dDdq0ja7xvDw3tcq2"], ["created_at", "2018-11-08 00:27:48.703671"], ["updated_at", "2018-11-08 00:27:48.703671"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$brds/6P7DVPblmnhSEhxGOQ2eM/cg3ooB4B0/kv5z2ZV0.iVTHBLG"], ["created_at", "2018-11-08 00:27:48.881752"], ["updated_at", "2018-11-08 00:27:48.881752"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$amN2xpnMIAJHQdeIKNUuGuCY95pTIXF7jiLoY6wdJpv95jjxM3G8C"], ["created_at", "2018-11-08 00:27:49.048611"], ["updated_at", "2018-11-08 00:27:49.048611"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267622"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.9ms)

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$7YoYr5lcxApi.3frHZG0hOw76iVZTq6jrbniivnBM/3iwvC65ZeZa"], ["created_at", "2018-11-08 00:27:49.225246"], ["updated_at", "2018-11-08 00:27:49.225246"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267623"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$07bZCLBij4nG4fgz3ff6pubIB..iCwquz18hJkyfdR6aEPEG2BM9m"], ["created_at", "2018-11-08 00:30:16.419662"], ["updated_at", "2018-11-08 00:30:16.419662"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267624"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "JoVnTDH1fF8zlJuiz93Zmg"], ["updated_at", "2018-11-08 00:30:16.434224"], ["id", 293267624]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:30:16.438530"], ["reset_sent_at", "2018-11-08 00:30:16.437867"], ["id", 293267624]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 251.5ms Sent mail to teste@unb.com.br (3119.7ms) Date: Wed, 07 Nov 2018 22:30:16 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38398ab6cc_7bc713090d470625@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38398a9bde_7bc713090d47057d";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38398a9bde_7bc713090d47057d Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/JoVnTDH1fF8zlJuiz93Zmg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38398a9bde_7bc713090d47057d Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/JoVnTDH1fF8zlJuiz93Zmg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38398a9bde_7bc713090d47057d–

Redirected to test.host/login Completed 302 Found in 3391ms (ActiveRecord: 2.5ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3VZ.XGYcbOAcFGc/r0BHtO2f0/20C4R6mMsPhskIeUR.1wISLMYPS"], ["created_at", "2018-11-08 00:30:20.071696"], ["updated_at", "2018-11-08 00:30:20.071696"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 18.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$w4Vlcw24Lpu4czjpEUU/i.p3tadJKvwkR1XGYRHxJMJ7EPUQvRbyK"], ["created_at", "2018-11-08 00:30:20.272288"], ["updated_at", "2018-11-08 00:30:20.272288"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$oASKKHf1jz0Vlge9yqQeF.HlU7BQhEgxy9gpLbuoPrYHp7gbUIcj."], ["created_at", "2018-11-08 00:30:20.438618"], ["updated_at", "2018-11-08 00:30:20.438618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267627"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$8mC1i3rIw3bU2/yawwjWBOuWDIvCaseorYVvY8HXOtq9/jLP13sQi"], ["created_at", "2018-11-08 00:30:20.615733"], ["updated_at", "2018-11-08 00:30:20.615733"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267628"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TfVHSPNLLladftG1p0F/aepYuJHhYn1Kh6Z7vMLU/bx5vAWJgppFe"], ["created_at", "2018-11-08 00:32:23.815452"], ["updated_at", "2018-11-08 00:32:23.815452"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267629"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "yfvgXw7WAp1C9YiOSfAoSg"], ["updated_at", "2018-11-08 00:32:23.829720"], ["id", 293267629]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:32:23.833231"], ["reset_sent_at", "2018-11-08 00:32:23.832702"], ["id", 293267629]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 260.9ms Sent mail to teste@unb.com.br (3092.1ms) Date: Wed, 07 Nov 2018 22:32:24 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3841819993_1306c6d0cc728e3@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3841818266_1306c6d0cc727ec";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3841818266_1306c6d0cc727ec Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/yfvgXw7WAp1C9YiOSfAoSg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3841818266_1306c6d0cc727ec Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/yfvgXw7WAp1C9YiOSfAoSg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3841818266_1306c6d0cc727ec–

Redirected to test.host/login Completed 302 Found in 3371ms (ActiveRecord: 2.0ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$dnMT4wTU4KXl0ZhMBaRcnekAF.XjGsnsRKael7gFn8yBqOgYN.l.S"], ["created_at", "2018-11-08 00:32:27.438769"], ["updated_at", "2018-11-08 00:32:27.438769"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$.D2kBcDBJjIGbpZcUStHFO8OrTv0B6QWhN7zc4Plxt/3fFmgPIPH6"], ["created_at", "2018-11-08 00:32:27.613497"], ["updated_at", "2018-11-08 00:32:27.613497"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Fm6lLSxkuprFdb3yDsLCN.ZbTTomNZvKQESqOPVnkVeeFCYxTQtC."], ["created_at", "2018-11-08 00:32:27.777087"], ["updated_at", "2018-11-08 00:32:27.777087"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267632"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms)

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$UupwJY4MW/MOuSBOArFq6O5WxhLQ8Smv8D/Jln9YVmbC0xz7shXxe"], ["created_at", "2018-11-08 00:32:27.958403"], ["updated_at", "2018-11-08 00:32:27.958403"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267633"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$miigp2Ztv54RX0rXoe7PQuOTlUl/P/KNCPe2t5PVsbFGiBWkBPpIy"], ["created_at", "2018-11-08 00:33:16.277993"], ["updated_at", "2018-11-08 00:33:16.277993"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267634"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "TfVGYpoX6V78oLUkR0Bd8Q"], ["updated_at", "2018-11-08 00:33:16.295119"], ["id", 293267634]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:33:16.299407"], ["reset_sent_at", "2018-11-08 00:33:16.298722"], ["id", 293267634]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 255.4ms Sent mail to teste@unb.com.br (3215.2ms) Date: Wed, 07 Nov 2018 22:33:16 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3844c8a71f_19e36f50cc75023@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3844c88b00_19e36f50cc749b2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3844c88b00_19e36f50cc749b2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/TfVGYpoX6V78oLUkR0Bd8Q/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3844c88b00_19e36f50cc749b2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/TfVGYpoX6V78oLUkR0Bd8Q/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3844c88b00_19e36f50cc749b2–

Redirected to test.host/login Completed 302 Found in 3492ms (ActiveRecord: 2.9ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ChNeBPnws/VD8pJ5UlCSn.2nh6wd4m629mkO8yCsDKWL4Jnib1Dxi"], ["created_at", "2018-11-08 00:33:20.029743"], ["updated_at", "2018-11-08 00:33:20.029743"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8g4OxLFrwRKPDnAEJVHMw.CiEPNDYYDAtCTixV4fw7o8Ku0TABeUi"], ["created_at", "2018-11-08 00:33:20.204141"], ["updated_at", "2018-11-08 00:33:20.204141"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$cbtPC.UhBA2mE1.rk6uNAOGbrCNmTsiOnWZsJ6HlWcPXXnzw9VK9m"], ["created_at", "2018-11-08 00:33:20.367623"], ["updated_at", "2018-11-08 00:33:20.367623"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267637"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$ugQ1etOIYiO/jJtfSG7CSuNDC4lWIHFjWoU8Lz7k.mf/QOZh306BO"], ["created_at", "2018-11-08 00:33:20.539924"], ["updated_at", "2018-11-08 00:33:20.539924"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267638"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$UsYFzsXNZB5iuGpZXxXx8OqmyHymqI4bUmSISgKSE57yUtttoAE7G"], ["created_at", "2018-11-08 00:34:00.167159"], ["updated_at", "2018-11-08 00:34:00.167159"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267639"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "-nIQaDYYQ960ss9hSz5EvA"], ["updated_at", "2018-11-08 00:34:00.182052"], ["id", 293267639]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:34:00.185827"], ["reset_sent_at", "2018-11-08 00:34:00.185369"], ["id", 293267639]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 250.5ms Sent mail to teste@unb.com.br (3094.4ms) Date: Wed, 07 Nov 2018 22:34:00 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be384786d436_239d4190d876624@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be384786bb02_239d4190d8765f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be384786bb02_239d4190d8765f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/-nIQaDYYQ960ss9hSz5EvA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be384786bb02_239d4190d8765f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/-nIQaDYYQ960ss9hSz5EvA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be384786bb02_239d4190d8765f–

Redirected to test.host/login Completed 302 Found in 3363ms (ActiveRecord: 3.1ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$wms15Z2MkaO81yLXLAH9HeY15EXoNB2gaR7vPbhxLMkY/K8h4ihue"], ["created_at", "2018-11-08 00:34:03.773766"], ["updated_at", "2018-11-08 00:34:03.773766"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZKz0Eii/W2rnr0BcVt1qFumUjgk.ZWemjjRc/j.Bh3URg1Y1umzwC"], ["created_at", "2018-11-08 00:34:03.946997"], ["updated_at", "2018-11-08 00:34:03.946997"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$mf9n.S48ZedpKBO6QY9OlOUIhzuQvoFxJHxBtc2Q2JzGGzbNhRIrq"], ["created_at", "2018-11-08 00:34:04.112857"], ["updated_at", "2018-11-08 00:34:04.112857"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267642"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$lv47IHdyZtpzqMjwFyn2NuF7Qns3lhU.j3XTC14Jc2PYq7mB2kyGe"], ["created_at", "2018-11-08 00:34:04.283552"], ["updated_at", "2018-11-08 00:34:04.283552"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"293267643"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.4ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$3FqoBOyXzKK2SgandLh22eP3Vs65/qllS7YG5NaRyaR0ue19Xg/gm"], ["created_at", "2018-11-08 00:36:12.317181"], ["updated_at", "2018-11-08 00:36:12.317181"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267644"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.2ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "QzLBm0C-oCCGK0eCpB-pvQ"], ["updated_at", "2018-11-08 00:36:12.331750"], ["id", 293267644]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:36:12.336390"], ["reset_sent_at", "2018-11-08 00:36:12.335617"], ["id", 293267644]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 261.6ms Sent mail to teste@unb.com.br (3215.3ms) Date: Wed, 07 Nov 2018 22:36:12 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be384fc94a6a_3671b430d442044@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be384fc93354_3671b430d44195a";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be384fc93354_3671b430d44195a Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/QzLBm0C-oCCGK0eCpB-pvQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be384fc93354_3671b430d44195a Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/QzLBm0C-oCCGK0eCpB-pvQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be384fc93354_3671b430d44195a–

Redirected to test.host/login Completed 302 Found in 3496ms (ActiveRecord: 3.2ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$jRHiwcGMse7XFgUryEBwzelrObD.9lfN7lI6kCSb3z12KwGigug9y"], ["created_at", "2018-11-08 00:36:16.082866"], ["updated_at", "2018-11-08 00:36:16.082866"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$1Mn.f730hgxtZj5LzSFsLe3oYcxHQXwqfA.BekzcPEd7cz9QQ64oy"], ["created_at", "2018-11-08 00:36:16.258539"], ["updated_at", "2018-11-08 00:36:16.258539"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267646"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$e99cabjJ/Mls62Hn1SraQu3Mp5bSOAZghv3iGxioMCaRZn4LnC7eO"], ["created_at", "2018-11-08 00:36:16.431247"], ["updated_at", "2018-11-08 00:36:16.431247"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]"}, "id"=>"293267647"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$r2e7SVTQ68xj9CpYv54/W.sqBQPnrD8wjALHcH1mX2bWo/B8HMq3i"], ["created_at", "2018-11-08 00:42:05.627426"], ["updated_at", "2018-11-08 00:42:05.627426"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267648"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "EQ9Pp7bz2W6kNDhyw2qMqQ"], ["updated_at", "2018-11-08 00:42:05.640778"], ["id", 293267648]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:42:05.644137"], ["reset_sent_at", "2018-11-08 00:42:05.643690"], ["id", 293267648]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 265.1ms Sent mail to teste@unb.com.br (3122.2ms) Date: Wed, 07 Nov 2018 22:42:05 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3865de08f7_6e8b5d70c8875d6@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3865ddf221_6e8b5d70c887440";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3865ddf221_6e8b5d70c887440 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/EQ9Pp7bz2W6kNDhyw2qMqQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3865ddf221_6e8b5d70c887440 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/EQ9Pp7bz2W6kNDhyw2qMqQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3865ddf221_6e8b5d70c887440–

Redirected to test.host/login Completed 302 Found in 3405ms (ActiveRecord: 1.7ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6JGopto73YwZ0l7Z2ZSj1.tR7mgTFyNaTrktjsYFacJPo.j.xi7.i"], ["created_at", "2018-11-08 00:42:09.298448"], ["updated_at", "2018-11-08 00:42:09.298448"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$uiCOuvNADMQ2H3gKTftmj.CFeg6Gkr.WMxtSSDMrD69IeNAP9/d/G"], ["created_at", "2018-11-08 00:42:09.476008"], ["updated_at", "2018-11-08 00:42:09.476008"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"confirmation"=>"novasenha123", "password"=>"[FILTERED]"}, "id"=>"293267650"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$4Mi/4Gq1kiEmdkOA5TNDEeOT87csjjYWeT32RCPcNNZ.YpxITzxAO"], ["created_at", "2018-11-08 00:42:09.749843"], ["updated_at", "2018-11-08 00:42:09.749843"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267651"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$DF3NZplUQ1ADp/TckzGNkuCWoDGWjhAFWCaU9vjxqI2fhjlJ0kWT."], ["created_at", "2018-11-08 00:42:09.917740"], ["updated_at", "2018-11-08 00:42:09.917740"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$XNBQM9WNGcSzUvYH3/G4h.Jod2H5sumZqFIJX.Y963DukyAb6oD5y"], ["created_at", "2018-11-08 00:42:10.080100"], ["updated_at", "2018-11-08 00:42:10.080100"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"confirmation"=>"12", "password"=>"[FILTERED]"}, "id"=>"293267653"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Y7FOwuT1ruUMu8ii3n5./.XOrz0Roh.jBdUx4IGbcXURtWlS0STda"], ["created_at", "2018-11-08 00:42:10.251207"], ["updated_at", "2018-11-08 00:42:10.251207"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"confirmation"=>"", "password"=>"[FILTERED]"}, "id"=>"293267654"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$hK0JX8VbI3kN5O2raMHa9OJGC8CJsV9FsqhPAGKvLdsg8sHA4gkM."], ["created_at", "2018-11-08 00:42:52.137138"], ["updated_at", "2018-11-08 00:42:52.137138"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267655"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "RHOIRfE1LJNv8N4phCUKjQ"], ["updated_at", "2018-11-08 00:42:52.169065"], ["id", 293267655]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:42:52.174462"], ["reset_sent_at", "2018-11-08 00:42:52.173771"], ["id", 293267655]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 274.5ms Sent mail to teste@unb.com.br (3126.4ms) Date: Wed, 07 Nov 2018 22:42:52 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3868c71441_74e066d0dc817d@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3868c6fb5c_74e066d0dc81697";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3868c6fb5c_74e066d0dc81697 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/RHOIRfE1LJNv8N4phCUKjQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3868c6fb5c_74e066d0dc81697 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/RHOIRfE1LJNv8N4phCUKjQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3868c6fb5c_74e066d0dc81697–

Redirected to test.host/login Completed 302 Found in 3429ms (ActiveRecord: 2.7ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$iChhMk8JjZStF9azTfPeOOUy1cYYVYjyae0/PPcKWAx.9PZsW1rZu"], ["created_at", "2018-11-08 00:42:55.845508"], ["updated_at", "2018-11-08 00:42:55.845508"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$W9SjXJF5BF6iSZDN7bmzLuqMjNrTlyQatOYvnazRx0r6iTOPaCItO"], ["created_at", "2018-11-08 00:42:56.024648"], ["updated_at", "2018-11-08 00:42:56.024648"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267657"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$BSOuHq2TfPz6Ety.eDXdZ.yIv528wTzN76I1HgmNfIcU96tL.U5g."], ["created_at", "2018-11-08 00:42:56.206205"], ["updated_at", "2018-11-08 00:42:56.206205"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267658"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.5ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$XJH0LJjbEzy01i/AqbiFn.BH0VppRW6L0CZdOKZGXNlMyQQQQDUSm"], ["created_at", "2018-11-08 00:42:56.382914"], ["updated_at", "2018-11-08 00:42:56.382914"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267659"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$HGV47pVTJqz.l5ID50jkjeKwqLjuWxXxJlbVUJ80vgFQgzzVO51tW"], ["created_at", "2018-11-08 00:42:56.552926"], ["updated_at", "2018-11-08 00:42:56.552926"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267660"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$l6Z8MsToeYFwe2/Bf2L4CeBPjiHsXE2wbYyoxpitYopwPJjWpAUwW"], ["created_at", "2018-11-08 00:42:56.745007"], ["updated_at", "2018-11-08 00:42:56.745007"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267661"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Mg3WRjFrXySFAV/Bv.VvpOvX5EquJ.Bn64d7GKSqQSyPDsOfTf2wS"], ["created_at", "2018-11-08 00:44:10.564842"], ["updated_at", "2018-11-08 00:44:10.564842"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267662"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "dNVTO-xcKPFbXGTrpxOVbg"], ["updated_at", "2018-11-08 00:44:10.580767"], ["id", 293267662]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:44:10.584946"], ["reset_sent_at", "2018-11-08 00:44:10.584314"], ["id", 293267662]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 274.4ms Sent mail to teste@unb.com.br (3070.5ms) Date: Wed, 07 Nov 2018 22:44:10 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be386dad4e66_2479a50d84085@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be386dad2e2c_2479a50d839ec";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be386dad2e2c_2479a50d839ec Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/dNVTO-xcKPFbXGTrpxOVbg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be386dad2e2c_2479a50d839ec Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/dNVTO-xcKPFbXGTrpxOVbg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be386dad2e2c_2479a50d839ec–

Redirected to test.host/login Completed 302 Found in 3365ms (ActiveRecord: 2.0ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FSpuULIA5ufPSQ1sqBHnxeSqFu4m8nL93EC1GWX9fEBZelVlFPSXm"], ["created_at", "2018-11-08 00:44:14.201611"], ["updated_at", "2018-11-08 00:44:14.201611"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TIXepCaP0ZrkzUTgtyDgbelVmAlO/d7O2vQDzVduskvTlcx7ap3ky"], ["created_at", "2018-11-08 00:44:14.375491"], ["updated_at", "2018-11-08 00:44:14.375491"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267664"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$eXsExOkWxilh6s3749TIHukX4OlMsKeidSv7//j5c65D9LweXAUva"], ["created_at", "2018-11-08 00:44:14.567570"], ["updated_at", "2018-11-08 00:44:14.567570"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267665"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$tf8ixk9cX4FlRdhEV8lXXOIaTKqOEaF4cU3eQ9fpKDVrboYj3Mw9m"], ["created_at", "2018-11-08 00:44:14.736558"], ["updated_at", "2018-11-08 00:44:14.736558"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267666"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$tcpoojwBNO.dyE91.4anfeoKofXY1kpKccx9Yp.8aPxmk5xoSm61W"], ["created_at", "2018-11-08 00:44:14.901618"], ["updated_at", "2018-11-08 00:44:14.901618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267667"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$D2V.5kOfYYW7HR0s/nU.reyOwYUP4Nqr.4FFEE5EDbzL74Q82I91S"], ["created_at", "2018-11-08 00:44:15.074179"], ["updated_at", "2018-11-08 00:44:15.074179"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267668"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TMZ88Lwqx0IertuBM58VQOBEe/NisjuAr0xnZ3KAqHX7uA9LgmK7O"], ["created_at", "2018-11-08 00:45:27.477495"], ["updated_at", "2018-11-08 00:45:27.477495"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267669"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "z8Xx9iqD6XLjqXi0AZvEyA"], ["updated_at", "2018-11-08 00:45:27.493193"], ["id", 293267669]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:45:27.497514"], ["reset_sent_at", "2018-11-08 00:45:27.496868"], ["id", 293267669]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 249.4ms Sent mail to teste@unb.com.br (3110.9ms) Date: Wed, 07 Nov 2018 22:45:27 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38727b959e_ef6b5b0d0797ce@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38727b7aa3_ef6b5b0d0796fe";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38727b7aa3_ef6b5b0d0796fe Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/z8Xx9iqD6XLjqXi0AZvEyA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38727b7aa3_ef6b5b0d0796fe Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/z8Xx9iqD6XLjqXi0AZvEyA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38727b7aa3_ef6b5b0d0796fe–

Redirected to test.host/login Completed 302 Found in 3382ms (ActiveRecord: 2.5ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$RkYoPPmiDQdFzNVlzcqC0.UsTYom0zM/K6cCskbI4e0JdmkU2gD6y"], ["created_at", "2018-11-08 00:45:31.120112"], ["updated_at", "2018-11-08 00:45:31.120112"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 10.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$YKY3ZqxiP8wowOf8E8LkjuZJ4mUuFXQYeO8GVCdDR1QTnO.l8rhk6"], ["created_at", "2018-11-08 00:45:31.299356"], ["updated_at", "2018-11-08 00:45:31.299356"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267671"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$brjudhY.FP1QPWmPfbw4l.yLg6reJG/rXgIeYvrqFSDtk2MzUCx.6"], ["created_at", "2018-11-08 00:45:31.480927"], ["updated_at", "2018-11-08 00:45:31.480927"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267672"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$3HeECxqlgrhh1bfiLsaEhemIvx.0aDlYnIUJ057fDyb6Som2QYls2"], ["created_at", "2018-11-08 00:45:31.655144"], ["updated_at", "2018-11-08 00:45:31.655144"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267673"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$7dPC6M5Je/FpkRK5GnlcOOK89fQTYUQ5kS/MiAP65Hz6G/DV16odK"], ["created_at", "2018-11-08 00:45:31.823731"], ["updated_at", "2018-11-08 00:45:31.823731"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267674"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$H5YsA.rKnoS5U18ayLsizOCrL54jJJP/jdg/CW.HHcT1J9sncv5Ze"], ["created_at", "2018-11-08 00:46:03.863542"], ["updated_at", "2018-11-08 00:46:03.863542"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267675"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "mDNtdalCrtR5DsJ9sukoGQ"], ["updated_at", "2018-11-08 00:46:03.878549"], ["id", 293267675]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:46:03.882769"], ["reset_sent_at", "2018-11-08 00:46:03.882309"], ["id", 293267675]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 253.3ms Sent mail to teste@unb.com.br (3001.9ms) Date: Wed, 07 Nov 2018 22:46:04 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3874c2400f_15526a10d05309b@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3874c226d9_15526a10d052962";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3874c226d9_15526a10d052962 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/mDNtdalCrtR5DsJ9sukoGQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3874c226d9_15526a10d052962 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/mDNtdalCrtR5DsJ9sukoGQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3874c226d9_15526a10d052962–

Redirected to test.host/login Completed 302 Found in 3275ms (ActiveRecord: 3.7ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$eO9zO4nkURKoqoCtZteUvOb3fFF.iRmI12LOO81WejnZuu.4O46Ju"], ["created_at", "2018-11-08 00:46:07.408116"], ["updated_at", "2018-11-08 00:46:07.408116"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$N8jrjeztAvvBRhDc7d/jueJXupaZHXBwv1E.k3mt1W8u.icU6pixy"], ["created_at", "2018-11-08 00:46:07.586655"], ["updated_at", "2018-11-08 00:46:07.586655"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267677"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.2ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$t09kauffG3rxcN8DmHA/4OqNPjoZ63i2sjM1pCtjRWUOZmbWXnOuS"], ["created_at", "2018-11-08 00:46:07.767977"], ["updated_at", "2018-11-08 00:46:07.767977"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267678"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.6ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$UoPGDA9EOkuvWPgU8CuRS.MJt/sA9YJ4EvmsjltVidJS9YFSHHwie"], ["created_at", "2018-11-08 00:46:07.975912"], ["updated_at", "2018-11-08 00:46:07.975912"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267679"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$VpQrQohJdyPvZiW/lRDyIuRoFSHXHBJiBajFOrSjyk0Lbb63i7YH6"], ["created_at", "2018-11-08 00:46:08.146546"], ["updated_at", "2018-11-08 00:46:08.146546"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267680"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$/sCMrjJc1x7bVzniY6GG.eirVzZi/jk4L.ByNvY8CAwjzAxMQ/8wa"], ["created_at", "2018-11-08 00:46:23.158745"], ["updated_at", "2018-11-08 00:46:23.158745"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267681"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "rsoG3lWw9OVrWeWFqCuvUQ"], ["updated_at", "2018-11-08 00:46:23.171989"], ["id", 293267681]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:46:23.175358"], ["reset_sent_at", "2018-11-08 00:46:23.174920"], ["id", 293267681]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 264.3ms Sent mail to teste@unb.com.br (3160.8ms) Date: Wed, 07 Nov 2018 22:46:23 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3875f6dea2_18edb8f0d83948@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3875f6c787_18edb8f0d83839";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3875f6c787_18edb8f0d83839 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/rsoG3lWw9OVrWeWFqCuvUQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3875f6c787_18edb8f0d83839 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/rsoG3lWw9OVrWeWFqCuvUQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3875f6c787_18edb8f0d83839–

Redirected to test.host/login Completed 302 Found in 3442ms (ActiveRecord: 1.9ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$yTDpgoTZXhqvu26dDJrXDen/mjqmmWfWDSaYJ7dIPTn6v4UyJF3uq"], ["created_at", "2018-11-08 00:46:26.870932"], ["updated_at", "2018-11-08 00:46:26.870932"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.8ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$LzFYBPKDK6ltxAZnugjm2ueq6TNWDP9eKjiDmUnBOSosJdS3nGzWq"], ["created_at", "2018-11-08 00:46:27.048582"], ["updated_at", "2018-11-08 00:46:27.048582"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267683"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$mNTypPyOEA8dbJx5//UdduEKOq8CSJwn.rX9haPu1ees0KOPkg6/y"], ["created_at", "2018-11-08 00:46:27.227990"], ["updated_at", "2018-11-08 00:46:27.227990"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267684"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$a7irXQFdw77IOGnYBz5VI.5h5wUq8e72kKPxvFgGQFFUZSVTYuRfm"], ["created_at", "2018-11-08 00:46:27.402321"], ["updated_at", "2018-11-08 00:46:27.402321"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267685"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$pmfx/VYgs0jfF7yO8ic7BO8NH4K1t5IzcmsyZaO4nzd05GSYFEnSi"], ["created_at", "2018-11-08 00:46:27.572050"], ["updated_at", "2018-11-08 00:46:27.572050"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267686"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$peDbRkvvY/2vPFZtNwckUu6jgWa1hKmzPMwAJEpg9pg3CcSkU3kLa"], ["created_at", "2018-11-08 00:46:27.740146"], ["updated_at", "2018-11-08 00:46:27.740146"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-07 22:47:16 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.4ms)

Completed 200 OK in 299ms (Views: 290.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:47:18 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (24.9ms)
Rendered users/sessions/new.html.erb within layouts/application (39.0ms)

Completed 200 OK in 164ms (Views: 106.1ms | ActiveRecord: 5.4ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:47:20 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 106ms (Views: 104.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:47:23 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/JKEGeuy1Si1bQTjoCWjxjweQxq7dV0YsMzPF7VJFcCWKFTQ0o4VPRnhO9hPxVIEshIj/uJN3q278N15EmHdVg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.8ms)

Completed 200 OK in 75ms (Views: 65.7ms | ActiveRecord: 0.7ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:47:27 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.5ms)
Rendered users/sessions/new.html.erb within layouts/application (16.3ms)

Completed 200 OK in 68ms (Views: 66.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:47:28 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.0ms)

Completed 200 OK in 69ms (Views: 67.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:47:36 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WCs+ASCy6PFvZziLY410FhnGK0CKLmsYFkukYdpEGTYyke7IGY4o5MPrB7CMbYXUl8pLpNMW6K0dd7YPfWzRoA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.7ms)

Completed 200 OK in 56ms (Views: 53.7ms | ActiveRecord: 0.4ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:48:09 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (10.7ms)

Completed 200 OK in 73ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:48:11 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.8ms)

Completed 200 OK in 71ms (Views: 66.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:48:39 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.8ms)

Completed 200 OK in 57ms (Views: 55.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:48:41 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (8.2ms)

Completed 200 OK in 86ms (Views: 57.1ms | ActiveRecord: 3.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 22:48:41 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 56ms (Views: 53.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:48:42 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.8ms)
Rendered users/sessions/new.html.erb within layouts/application (27.5ms)

Completed 200 OK in 91ms (Views: 89.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:48:43 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.5ms)

Completed 200 OK in 80ms (Views: 78.5ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:48:47 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"aPrzmCqle2ChBVSC2Ypddo9fdvlH+6GNoqM7bgQANYsCQCNRE5m7dQ2Ja7k2aqy0AVMWHR7DIjipnykAoyj9HQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.0ms)

Completed 200 OK in 59ms (Views: 54.2ms | ActiveRecord: 0.5ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:48:52 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4Fwe2fc83a0vwNZV4D9z+dCnDmav1+WjIIDsB0wYVUDOIWVuAhH4YP7vQlD1K0G1oqTsEftzHVOsFvlWeqP/QA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.9ms)

Completed 200 OK in 57ms (Views: 52.0ms | ActiveRecord: 1.7ms)

Started GET “/password_resets” for 127.0.0.1 at 2018-11-07 22:48:53 -0200

ActionController::RoutingError (No route matches [GET] “/password_resets”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/login” for 127.0.0.1 at 2018-11-07 22:48:56 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.5ms)
Rendered users/sessions/new.html.erb within layouts/application (24.2ms)

Completed 200 OK in 108ms (Views: 104.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:48:58 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.1ms)

Completed 200 OK in 66ms (Views: 64.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:49:05 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"D2nT1wpr+pBaCzFNrxSJ48teOj7iviE3xN0Og1r4kBRl0wMeM1c6hfaHDnZA9HghRVJa2ruGooLP4Rzt/dBYgg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asasa@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.2ms)

Completed 200 OK in 73ms (Views: 69.8ms | ActiveRecord: 0.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:49:07 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.7ms)
Rendered users/sessions/new.html.erb within layouts/application (18.6ms)

Completed 200 OK in 75ms (Views: 70.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:49:17 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.9ms)

Completed 200 OK in 74ms (Views: 68.6ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-11-07 22:49:24 -0200 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.4ms)
Rendered users/registrations/new.html.erb within layouts/application (7.7ms)

Completed 200 OK in 53ms (Views: 51.7ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-11-07 22:49:38 -0200 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sDGd803Ex6C/4SN/zST1Inp4TXGW9d8Njh4QiRW0fSzz3fB6ysHgwEsa6sBZAY+C+L8dftdeAmlinOBkPlvuYw==", "user"=>{"username"=>"Andre", "registration"=>"140016261", "course"=>"eng comp", "email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre_luisferreira@hotmail.com"], ["encrypted_password", "$2a$11$ydVIXQtRW0.yRim320uxN.1savfvyJjN2qK8fDs1UNM6v98q/apl."], ["created_at", "2018-11-08 00:49:38.994412"], ["updated_at", "2018-11-08 00:49:38.994412"], ["username", "Andre"], ["registration", "140016261"], ["course", "eng comp"]]
 (135.8ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-08 00:49:39.134730"], ["last_sign_in_at", "2018-11-08 00:49:39.134730"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-08 00:49:39.136371"], ["id", 293267688]]
 (175.4ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 554ms (ActiveRecord: 314.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 22:49:39 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (9.4ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 84ms (Views: 79.4ms | ActiveRecord: 1.7ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-07 22:49:43 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"zyyJyFhoHJ2HFRNM5zjHoB7pgKrtKGy37Flr5uwdiHrhUfJ/rUU5UFY6h0nyLPXsbOpi3bmMlEdgz3632qYieg=="}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (1.6ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 25ms (ActiveRecord: 3.2ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 22:49:43 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.8ms)

Completed 200 OK in 66ms (Views: 64.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:49:44 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (13.9ms)

Completed 200 OK in 74ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:49:46 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (3.9ms)

Completed 200 OK in 63ms (Views: 61.9ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:49:48 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7ygk/0lMJAqfphRlkdWxIS8ufQ4fO8WM9ARyFaXfjKUMQ4Mwv/9ALLKJdt4QO+po6jMlcGg93wx/oOBoqpfi6g==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "20DKuWYy_kfpKR0ts9_SYA"], ["updated_at", "2018-11-08 00:49:48.293109"], ["id", 293267688]]
 (211.3ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:49:48.508493"], ["reset_sent_at", "2018-11-08 00:49:48.507498"], ["id", 293267688]]
 (166.0ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 400.3ms Sent mail to andre_luisferreira@hotmail.com (3198.8ms) Date: Wed, 07 Nov 2018 22:49:49 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3882d1775c_1fb2271ab9050519@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3882d15a56_1fb2271ab9050498";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3882d15a56_1fb2271ab9050498 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/20DKuWYy_kfpKR0ts9_SYA/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3882d15a56_1fb2271ab9050498 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/20DKuWYy_kfpKR0ts9_SYA/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3882d15a56_1fb2271ab9050498–

Redirected to localhost:3000/login Completed 302 Found in 4010ms (ActiveRecord: 379.3ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:49:52 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (11.6ms)

Completed 200 OK in 54ms (Views: 52.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 22:49:53 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (2.3ms)

Completed 200 OK in 70ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 22:49:56 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"U3HecMqT2rjHfGKCq08B3mYFTx/6bUU4glyI4FB5RYiwGnm/PCC+nupTADkqoVqXoxgXYY1rX7gJ+BqdXzErxw==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.7ms)

Completed 200 OK in 47ms (Views: 44.3ms | ActiveRecord: 0.2ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:50:04 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.7ms)
Rendered users/sessions/new.html.erb within layouts/application (9.1ms)

Completed 200 OK in 56ms (Views: 54.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/20DKuWYy_kfpKR0ts9_SYA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 22:50:09 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.1ms)
Rendered password_resets/edit.html.erb within layouts/application (8.8ms)

Completed 200 OK in 90ms (Views: 81.0ms | ActiveRecord: 0.3ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 22:50:35 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u56DQ0j6v4P44EaU156vLTcusLQcCzOLubVkcU41d+LM4KJMv9CU/qvMK52NoAH58EbwKGDlWyjW4kWo5fNubQ==", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}

Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"u56DQ0j6v4P44EaU156vLTcusLQcCzOLubVkcU41d+LM4KJMv9CU/qvMK52NoAH58EbwKGDlWyjW4kWo5fNubQ==", "user"=>{"email"=>"", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (9.3ms)

Completed 200 OK in 82ms (Views: 54.5ms | ActiveRecord: 4.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:50:46 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.7ms)
Rendered users/sessions/new.html.erb within layouts/application (11.1ms)

Completed 200 OK in 65ms (Views: 61.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/20DKuWYy_kfpKR0ts9_SYA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 22:50:53 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.5ms)
Rendered password_resets/edit.html.erb within layouts/application (18.5ms)

Completed 200 OK in 79ms (Views: 74.9ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/20DKuWYy_kfpKR0ts9_SYA” for 127.0.0.1 at 2018-11-07 22:50:56 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ILUsKuCfm5VEwrwWizTUyd5TOb/fpL1snoykZDXltCkvnwXHLQ9Z+xafUCw9zHw4MSfFsgQaKVADVKimzz+owA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (8.0ms)

Completed 200 OK in 227ms (Views: 49.9ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/20DKuWYy_kfpKR0ts9_SYA” for 127.0.0.1 at 2018-11-07 22:51:01 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"89N1UclfHclzs12MD9C6gePxnftvcsa+W3Vf3fbw7hT8+Vy8BM/fpyHusba5KBJwDIVh9rTMUoLGrVMfDCry/Q==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.8ms)
Rendered password_resets/edit.html.erb within layouts/application (7.6ms)

Completed 200 OK in 221ms (Views: 47.2ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/20DKuWYy_kfpKR0ts9_SYA” for 127.0.0.1 at 2018-11-07 22:51:04 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V/2FuqC2jzdSkcHHK9Gy449zrBf6/3r80DKkRUbtBFZY16xXbSZNWQDMLf2dKRoSYAdQGiFB7sBN6qiHvDcYvw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.2ms)
Rendered password_resets/edit.html.erb within layouts/application (16.4ms)

Completed 200 OK in 64ms (Views: 60.0ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/20DKuWYy_kfpKR0ts9_SYA” for 127.0.0.1 at 2018-11-07 22:51:07 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HsKnuRRwLs1jcKmZ94UqV0OLo/+hQzdZXq2ROsL8HPER6I5U2eDsozEtRaNBfYKmrP9f8nr9o2XDdZ34OCYAGA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (9.4ms)

Completed 200 OK in 235ms (Views: 62.3ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/20DKuWYy_kfpKR0ts9_SYA” for 127.0.0.1 at 2018-11-07 22:51:24 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eAESvOlHLaPewaHWiYFYhbNhrqZmbxCu8q1n5TjLv0J3KztRJNfvzYycTew/efB0XBVSq73RhJJvdWsnwhGjqw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"20DKuWYy_kfpKR0ts9_SYA"}
User Load (2.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (1.1ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$E36unZGSTgzM40PieqzfDur8ShveWKhrqjhuDbSn3gS1dM1GcLB7."], ["updated_at", "2018-11-08 00:51:25.173733"], ["id", 293267688]]
 (294.3ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 525ms (ActiveRecord: 297.9ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 22:51:25 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (13.3ms)

Completed 200 OK in 75ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 22:52:31 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j7G0ZfinCvn5L0b1YPS06UI7vcXweE4CPRCuaqBBpMOAm52INTfIl6tyqs/WDBwYrU9ByCvG2j6gyKKoWpu4Kg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 205ms (ActiveRecord: 0.7ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"j7G0ZfinCvn5L0b1YPS06UI7vcXweE4CPRCuaqBBpMOAm52INTfIl6tyqs/WDBwYrU9ByCvG2j6gyKKoWpu4Kg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (8.3ms)

Completed 200 OK in 216ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-07 22:52:34 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2vX9Uozt9pIXwgnObz7OC2R3su5KWc8b+c/lXQwCtdzV39S/QX00/EWf5fTZxmb6iwNO45HnWydkF+mf9tipNQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-11-08 00:52:34.817294"], ["sign_in_count", 2], ["updated_at", "2018-11-08 00:52:34.818577"], ["id", 293267688]]
 (345.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 536ms (ActiveRecord: 346.6ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 22:52:35 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.7ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.4ms)

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$wshztQh85aGlEvoLRAZAW.1W1OaqeHAiDLD3Ur5tekcpU7H32XB.e"], ["created_at", "2018-11-08 00:52:51.258758"], ["updated_at", "2018-11-08 00:52:51.258758"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267689"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "5CwO5ycmkGLpnJB2OdSlXg"], ["updated_at", "2018-11-08 00:52:51.272280"], ["id", 293267689]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:52:51.275661"], ["reset_sent_at", "2018-11-08 00:52:51.275180"], ["id", 293267689]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 250.2ms Sent mail to teste@unb.com.br (3240.6ms) Date: Wed, 07 Nov 2018 22:52:51 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be388e38303f_51bbecf0cc41e0@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be388e381747_51bbecf0cc40f1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be388e381747_51bbecf0cc40f1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/5CwO5ycmkGLpnJB2OdSlXg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be388e381747_51bbecf0cc40f1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/5CwO5ycmkGLpnJB2OdSlXg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be388e381747_51bbecf0cc40f1–

Redirected to test.host/login Completed 302 Found in 3508ms (ActiveRecord: 1.9ms)

 (0.8ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$DRpw9I.SH9pOwqGXt1XZ3OY47B.2ghgN0MSA.wvI6tuUZV5GDGP9G"], ["created_at", "2018-11-08 00:52:54.983652"], ["updated_at", "2018-11-08 00:52:54.983652"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$h428XLvlmQZuW2fPmzGKwumQRJnhc2hZm76V18.HxtR45F0Kxqaty"], ["created_at", "2018-11-08 00:52:55.161332"], ["updated_at", "2018-11-08 00:52:55.161332"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267691"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$4Rc5KcPAXIJ.MbvNKXVZAOKoATIDoyl8j/SygrtMFBLgUhZKSFt5e"], ["created_at", "2018-11-08 00:52:55.338401"], ["updated_at", "2018-11-08 00:52:55.338401"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267692"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.8ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$wPG6Ut1dKnDuSgX54RrGmekR/XiphSU7filv6QXBdCPL4cpCty7ny"], ["created_at", "2018-11-08 00:52:55.511202"], ["updated_at", "2018-11-08 00:52:55.511202"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267693"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$1nCyGrC73Gcr2blWsVdxCOhf/UPSWxZqQxopAzUoYwJusYVX1npUK"], ["created_at", "2018-11-08 00:52:55.680717"], ["updated_at", "2018-11-08 00:52:55.680717"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267694"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$WOTrcaBwgLta0G3j3.hcguHkrx41umxA1edfnFKb3Cs4J6b9MJPh6"], ["created_at", "2018-11-08 00:53:13.724352"], ["updated_at", "2018-11-08 00:53:13.724352"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267695"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "C_j3qX9w69ZaeINzYNSM5w"], ["updated_at", "2018-11-08 00:53:13.739870"], ["id", 293267695]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:53:13.743567"], ["reset_sent_at", "2018-11-08 00:53:13.743098"], ["id", 293267695]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 262.7ms Sent mail to teste@unb.com.br (3100.1ms) Date: Wed, 07 Nov 2018 22:53:14 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be388fa4301_54b7c950cc6864e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be388fa2bdf_54b7c950cc685c7";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be388fa2bdf_54b7c950cc685c7 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/C_j3qX9w69ZaeINzYNSM5w/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be388fa2bdf_54b7c950cc685c7 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/C_j3qX9w69ZaeINzYNSM5w/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be388fa2bdf_54b7c950cc685c7–

Redirected to test.host/login Completed 302 Found in 3382ms (ActiveRecord: 2.8ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$5PNc6bSUUEJkSvqSOXt53uLGnm/Lqx6Es2XZw5aLjJXcqVp.IhWda"], ["created_at", "2018-11-08 00:53:17.366621"], ["updated_at", "2018-11-08 00:53:17.366621"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$bWJ6/tAjVxWDRq4THP/Kb.kK9xdW/ZKPSoNY.RpcKifzjZHE2vXQm"], ["created_at", "2018-11-08 00:53:17.542644"], ["updated_at", "2018-11-08 00:53:17.542644"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267697"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$nd.XeikRQiRCf3XtKrfXTeDPQahLBtCTdNML1l0yoo5SG3P9SZG2C"], ["created_at", "2018-11-08 00:53:17.723171"], ["updated_at", "2018-11-08 00:53:17.723171"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267698"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$QU8dmiGzrLL7/TghChOxZ.D3a0HbJmXsxXT3XB9Whlv9PwwYXXL3K"], ["created_at", "2018-11-08 00:53:17.893000"], ["updated_at", "2018-11-08 00:53:17.893000"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267699"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$UjhG0ENhhD3KFVPvp8o4FuM8eWebwxLlpYQBcEG5/sen.u0gaZ./y"], ["created_at", "2018-11-08 00:53:18.059997"], ["updated_at", "2018-11-08 00:53:18.059997"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267700"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$4qNtk/ZDk2GGJVbpaoYqmO3bf3dOdaPrWoc4dv7F7.HDHlAN5jRey"], ["created_at", "2018-11-08 00:53:18.236693"], ["updated_at", "2018-11-08 00:53:18.236693"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267701"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$JKc.DNro422HiGCAUT2x..4g9aYTiyyI28piUimy2R26K3g8494w."], ["created_at", "2018-11-08 00:55:08.331641"], ["updated_at", "2018-11-08 00:55:08.331641"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267702"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "blq25uH-JDLH--xQNvrNyw"], ["updated_at", "2018-11-08 00:55:08.347480"], ["id", 293267702]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:55:08.351642"], ["reset_sent_at", "2018-11-08 00:55:08.350987"], ["id", 293267702]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 254.4ms Sent mail to teste@unb.com.br (3266.1ms) Date: Wed, 07 Nov 2018 22:55:08 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3896c96e0c_6721d1d0d08613@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3896c95316_6721d1d0d085a2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3896c95316_6721d1d0d085a2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/blq25uH-JDLH–xQNvrNyw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3896c95316_6721d1d0d085a2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/blq25uH-JDLH–xQNvrNyw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3896c95316_6721d1d0d085a2–

Redirected to test.host/login Completed 302 Found in 3540ms (ActiveRecord: 1.9ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2iLRap7b5W7QP.2QmkcaienWfeJLS8FIw//YeCNYIGagbxGytuTQi"], ["created_at", "2018-11-08 00:55:12.142285"], ["updated_at", "2018-11-08 00:55:12.142285"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$NJJaNHwKeUFvHGtuVHdDWOjez72m7GXccd8OHykCqeW4Azyp.NcVK"], ["created_at", "2018-11-08 00:55:12.317714"], ["updated_at", "2018-11-08 00:55:12.317714"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267704"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$JgSYR37OiS5YsUums.oRKuzmwUWVtn1cS.JqUfbxss35oN0BrIQPm"], ["created_at", "2018-11-08 00:55:12.530686"], ["updated_at", "2018-11-08 00:55:12.530686"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267705"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$hsCDJyfj1q/rBEFyXPDpOuYqpjEYqi5IaS7zXf34eg4YzZmLVvNAy"], ["created_at", "2018-11-08 00:55:12.701193"], ["updated_at", "2018-11-08 00:55:12.701193"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267706"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$hXIOEzPAVue8ii9UQZj3m.MMJRtj.TiPBbRcNRkX3PqlPnLc2xBgu"], ["created_at", "2018-11-08 00:55:12.867423"], ["updated_at", "2018-11-08 00:55:12.867423"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267707"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.1ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Oq9Tf.qKGWi2G7krkk2yTuvY2GamkBEfQ9W5FhP1DMjgkA/g7aC/y"], ["created_at", "2018-11-08 00:55:13.034533"], ["updated_at", "2018-11-08 00:55:13.034533"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267708"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$1bV7YnXV76FIfxj.soV.JeFpsxomOVAMxqHVesB.YFUfD69Pik8Ve"], ["created_at", "2018-11-08 00:57:05.075325"], ["updated_at", "2018-11-08 00:57:05.075325"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267709"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "a-W6rYrUXOH8OvqDfK5t7g"], ["updated_at", "2018-11-08 00:57:05.092105"], ["id", 293267709]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:57:05.097299"], ["reset_sent_at", "2018-11-08 00:57:05.096317"], ["id", 293267709]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 285.8ms Sent mail to teste@unb.com.br (3163.9ms) Date: Wed, 07 Nov 2018 22:57:05 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be389e160a67_79fcc070d8457f1@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be389e15efe3_79fcc070d84563d";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be389e15efe3_79fcc070d84563d Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/a-W6rYrUXOH8OvqDfK5t7g/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be389e15efe3_79fcc070d84563d Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/a-W6rYrUXOH8OvqDfK5t7g/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be389e15efe3_79fcc070d84563d–

Redirected to test.host/login Completed 302 Found in 3472ms (ActiveRecord: 2.3ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$dR.u5x6wDAKb.0HR2JUXGutlEnJ.uTGjGe/2ye.d.3cSd/8bibhCi"], ["created_at", "2018-11-08 00:57:08.826465"], ["updated_at", "2018-11-08 00:57:08.826465"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$4YYKJl4TVcPfrk9yLLM/mewsBcrVLy8y5EO0a1fcaogQ/Jg6jrFRq"], ["created_at", "2018-11-08 00:57:08.999954"], ["updated_at", "2018-11-08 00:57:08.999954"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267711"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$hrxIdMAghVwN8OdMwl0i7.9zuhf9WgA0qUKLGNm4pd7.WM5T0E.ta"], ["created_at", "2018-11-08 00:57:09.177215"], ["updated_at", "2018-11-08 00:57:09.177215"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267712"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$OZeyW77ahItizRain7or3u3RjT3YNn61eTuX3LNDZ/OEi3X0lEuhe"], ["created_at", "2018-11-08 00:57:09.354421"], ["updated_at", "2018-11-08 00:57:09.354421"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267713"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$BdholjK8ESPHgHthMyskB.osF0QUrdetU8vxjb6gn418fiBFYvRwa"], ["created_at", "2018-11-08 00:57:09.521730"], ["updated_at", "2018-11-08 00:57:09.521730"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267714"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$iBZzuGuyyCNs2rr2u7OL7OcCppmSybYmb/5VES1RYZGwc7kD26dBm"], ["created_at", "2018-11-08 00:57:09.689234"], ["updated_at", "2018-11-08 00:57:09.689234"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$u/n6AwMx7YNxgvKoQ4xsvuX6HAhjyYVRZEqrK9Jn367HvRbLdBI1K"], ["created_at", "2018-11-08 00:58:36.202004"], ["updated_at", "2018-11-08 00:58:36.202004"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267716"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "KGumLDsI-FrrryaEGDqKAw"], ["updated_at", "2018-11-08 00:58:36.217380"], ["id", 293267716]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:58:36.221570"], ["reset_sent_at", "2018-11-08 00:58:36.220919"], ["id", 293267716]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 252.7ms Sent mail to teste@unb.com.br (3138.2ms) Date: Wed, 07 Nov 2018 22:58:36 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38a3c76b2f_7eef430d0136a7@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38a3c7507d_7eef430d013595";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38a3c7507d_7eef430d013595 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/KGumLDsI-FrrryaEGDqKAw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38a3c7507d_7eef430d013595 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/KGumLDsI-FrrryaEGDqKAw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38a3c7507d_7eef430d013595–

Redirected to test.host/login Completed 302 Found in 3411ms (ActiveRecord: 2.0ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$jJqvpEsOttnwEJS1f4HT5um3wbPSPAmW2Hp2tXl7PjA8L.wU/YaKi"], ["created_at", "2018-11-08 00:58:39.885147"], ["updated_at", "2018-11-08 00:58:39.885147"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$iZLzuo4gIfwBcdo9/tXQb.LqLxkk/EZ6v36HUJOMoSWC3nkHqC9KG"], ["created_at", "2018-11-08 00:58:40.066467"], ["updated_at", "2018-11-08 00:58:40.066467"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267718"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$LnNxs3xPQtHEdNtlYZJA1u6/ekxFvwhoDpVR8m3eYPI2IQAmGGBEK"], ["created_at", "2018-11-08 00:58:40.244292"], ["updated_at", "2018-11-08 00:58:40.244292"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267719"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$KpLsNVm.QLVIhplpjBRpLe.hJQdy8bn10zR02n1kPX//kIMpYj1Gm"], ["created_at", "2018-11-08 00:58:40.413387"], ["updated_at", "2018-11-08 00:58:40.413387"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267720"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Id3wSI3WBgBqIaXtO17.FuBx7iBmfmoj6a6sfoOhkjshQZWcDDnP6"], ["created_at", "2018-11-08 00:58:40.582894"], ["updated_at", "2018-11-08 00:58:40.582894"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267721"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Ddm0.3ho82NXWzKLxrmc0eBfUjckbovJdoxp78wfK.KVr/U678.yO"], ["created_at", "2018-11-08 00:58:40.749259"], ["updated_at", "2018-11-08 00:58:40.749259"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$VuEz3LZ5u4uL8yRdT08y5ORxRMMDJrsRbSoLtiqjk0yFvlmLkrQ26"], ["created_at", "2018-11-08 00:59:09.519950"], ["updated_at", "2018-11-08 00:59:09.519950"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267723"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "Y1exKOhjLDvAknJkBv9-5A"], ["updated_at", "2018-11-08 00:59:09.534749"], ["id", 293267723]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 00:59:09.541214"], ["reset_sent_at", "2018-11-08 00:59:09.540714"], ["id", 293267723]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 267.1ms Sent mail to teste@unb.com.br (8168.7ms) Date: Wed, 07 Nov 2018 22:59:09 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38a5dc9842_e385c10d451059@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38a5dc7f0a_e385c10d450976";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38a5dc7f0a_e385c10d450976 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/Y1exKOhjLDvAknJkBv9-5A/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38a5dc7f0a_e385c10d450976 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/Y1exKOhjLDvAknJkBv9-5A/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38a5dc7f0a_e385c10d450976–

Redirected to test.host/login Completed 302 Found in 8463ms (ActiveRecord: 2.3ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6e3tZYQvtBE5weCOD3JCBuX/4lNhfuP8NYgvOyhLD.fStMSelx0Wa"], ["created_at", "2018-11-08 00:59:18.233129"], ["updated_at", "2018-11-08 00:59:18.233129"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$mI03bqf/0Uhv7qdMLmwDm.4j/69cuzK0iavv7y9VYtlWN8g/Zcnvq"], ["created_at", "2018-11-08 00:59:18.407796"], ["updated_at", "2018-11-08 00:59:18.407796"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267725"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$KCXrBDLZ54xFh0wRbOLdY.bGPFWCGsuI8bPkh7DbcJ1b4kViJ8LHS"], ["created_at", "2018-11-08 00:59:18.586340"], ["updated_at", "2018-11-08 00:59:18.586340"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267726"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$bQiS3qvUa2B./RBxdFaAU.jnWgmctNXHzcM9LoxLiDDCST2zxZ15K"], ["created_at", "2018-11-08 00:59:18.755750"], ["updated_at", "2018-11-08 00:59:18.755750"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267727"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (3.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$jBN0L.6TrDSVgR8e4CDhSuq3u0AAowPoH3oTD8MuXrSL36CUU5Ci2"], ["created_at", "2018-11-08 00:59:18.922984"], ["updated_at", "2018-11-08 00:59:18.922984"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267728"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$UVsuLZkfO5cR/M795sQhr.CVX66LW43NDzTbUUnBuSGs8fi2IbxkG"], ["created_at", "2018-11-08 00:59:19.127100"], ["updated_at", "2018-11-08 00:59:19.127100"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$9PWim04lgDLSvcRATSpiPeF9BSor0E3DbEsUysyhZnJ3oBnXbX8j2"], ["created_at", "2018-11-08 01:01:05.456120"], ["updated_at", "2018-11-08 01:01:05.456120"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267730"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "7k8nUodC5SH2UnSOAYNXKg"], ["updated_at", "2018-11-08 01:01:05.470681"], ["id", 293267730]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:01:05.474419"], ["reset_sent_at", "2018-11-08 01:01:05.473914"], ["id", 293267730]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.8ms Sent mail to teste@unb.com.br (3109.5ms) Date: Wed, 07 Nov 2018 23:01:05 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38ad1b4055_216ebd10dc760e4@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38ad1b2735_216ebd10dc759ce";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38ad1b2735_216ebd10dc759ce Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/7k8nUodC5SH2UnSOAYNXKg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38ad1b2735_216ebd10dc759ce Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/7k8nUodC5SH2UnSOAYNXKg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38ad1b2735_216ebd10dc759ce–

Redirected to test.host/login Completed 302 Found in 3380ms (ActiveRecord: 2.6ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$j2CaOtQyum.oftR9y6sA5eVlEA0c/nXqy3w02Vvx1LNuEkb2GYgEe"], ["created_at", "2018-11-08 01:01:09.106215"], ["updated_at", "2018-11-08 01:01:09.106215"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$TMT7/HC16eVqp8BcUF3gZOM8qK/ycaVD7wgw.D87Aw0hlyC7quNN2"], ["created_at", "2018-11-08 01:01:09.281222"], ["updated_at", "2018-11-08 01:01:09.281222"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267732"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$rtdiMC/PpnVHrUh5Nac4WuaoN1WXILpGRQbnO1YgSBN6gzL8CKh5W"], ["created_at", "2018-11-08 01:01:09.460162"], ["updated_at", "2018-11-08 01:01:09.460162"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267733"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$OpeSsaj0PdctF0kMbBobPul2PJHYlnraZPxwfeXr/F9c1MvLaKR1e"], ["created_at", "2018-11-08 01:01:09.630628"], ["updated_at", "2018-11-08 01:01:09.630628"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267734"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$ubGnGcF0lFgm4v8qXYNfpObaNLe2ORF/aiE7jfdJnao5KQb//0mTW"], ["created_at", "2018-11-08 01:01:09.798218"], ["updated_at", "2018-11-08 01:01:09.798218"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267735"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$2gq/bH2zn1.lA8FijySEp.L9Vha8kLQnAStshUkSzJpjgh7R2EkE6"], ["created_at", "2018-11-08 01:01:09.967181"], ["updated_at", "2018-11-08 01:01:09.967181"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$gO78kkzx1KxFDG/k1Gv9B.mvZPf5ofi/DY1vZt0ugccSiVFrYNVAe"], ["created_at", "2018-11-08 01:01:38.964380"], ["updated_at", "2018-11-08 01:01:38.964380"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267737"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "_K8Ff6fCAm0sbbDdDAHEYw"], ["updated_at", "2018-11-08 01:01:38.981804"], ["id", 293267737]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:01:38.986843"], ["reset_sent_at", "2018-11-08 01:01:38.986172"], ["id", 293267737]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 264.2ms Sent mail to teste@unb.com.br (3140.7ms) Date: Wed, 07 Nov 2018 23:01:39 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38af3405c4_27b383d0d874d@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38af33ec22_27b383d0d8734c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38af33ec22_27b383d0d8734c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/_K8Ff6fCAm0sbbDdDAHEYw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38af33ec22_27b383d0d8734c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/_K8Ff6fCAm0sbbDdDAHEYw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38af33ec22_27b383d0d8734c–

Redirected to test.host/login Completed 302 Found in 3429ms (ActiveRecord: 3.8ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$0o/Wzik8rgNGSi4Rg8ADc.jcdOUb0jZG3BbS4gjAzvu1ehumlG4uC"], ["created_at", "2018-11-08 01:01:42.663571"], ["updated_at", "2018-11-08 01:01:42.663571"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Qi81Y/KyDebBjqdMyoyUj.JmrPUqACDvbSweSt4hEEtqWzT7t/UyW"], ["created_at", "2018-11-08 01:01:42.838559"], ["updated_at", "2018-11-08 01:01:42.838559"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267739"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$nmCjOWNGstRMWBO2tpWEXuK2ckjN3l682G41DLLn7d6Zf5Mktiw2K"], ["created_at", "2018-11-08 01:01:43.021431"], ["updated_at", "2018-11-08 01:01:43.021431"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267740"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$DqWyr5I9SKokOEnZY3QqMuMHOQO5G.RsddaFoOKzd3wBc4NVJsm.C"], ["created_at", "2018-11-08 01:01:43.190471"], ["updated_at", "2018-11-08 01:01:43.190471"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267741"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$s0vcon5RuVOU2A1FincnXO7HIwzJIeV1PA/w6OLwnVUcGjaa.bYZ2"], ["created_at", "2018-11-08 01:01:43.357403"], ["updated_at", "2018-11-08 01:01:43.357403"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267742"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$6yvsMC97RYaDUXJPaQiGE.kln16Mw7xqOowtBXOuJA2CYqp20VTwe"], ["created_at", "2018-11-08 01:01:43.524669"], ["updated_at", "2018-11-08 01:01:43.524669"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267743"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$U5V3pNzEaVqgaUAPSkZUdehg9LNgJkEx/7NLn1e/vdLnPQDpV5eYe"], ["created_at", "2018-11-08 01:03:15.282491"], ["updated_at", "2018-11-08 01:03:15.282491"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267744"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "4hAfTl9-BiKVbynYpuv8DA"], ["updated_at", "2018-11-08 01:03:15.297086"], ["id", 293267744]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:03:15.300422"], ["reset_sent_at", "2018-11-08 01:03:15.299968"], ["id", 293267744]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 273.2ms Sent mail to teste@unb.com.br (3095.7ms) Date: Wed, 07 Nov 2018 23:03:15 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38b538ec9f_3478a9f0d818020@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38b538d049_3478a9f0d8179a7";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38b538d049_3478a9f0d8179a7 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/4hAfTl9-BiKVbynYpuv8DA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38b538d049_3478a9f0d8179a7 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/4hAfTl9-BiKVbynYpuv8DA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38b538d049_3478a9f0d8179a7–

Redirected to test.host/login Completed 302 Found in 3386ms (ActiveRecord: 1.8ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2O07xyZHg82gFsvLZkI0YeBKW8fLSj9Ydz/iW4aXpKSThWPsSvvhm"], ["created_at", "2018-11-08 01:03:18.930777"], ["updated_at", "2018-11-08 01:03:18.930777"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$/s8z5xaPWEcL6ejW8Plpwuer1DaC68oJ6B55n5lacWmWqkcOLTehe"], ["created_at", "2018-11-08 01:03:19.107716"], ["updated_at", "2018-11-08 01:03:19.107716"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267746"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$nyh0HZR4ogz2jiO.pdoXr.2DnWlGlnB1tZjV/6ZMh3Mk7Ayo.iEAy"], ["created_at", "2018-11-08 01:03:19.286111"], ["updated_at", "2018-11-08 01:03:19.286111"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267747"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$7CGDBvXs57JF0I/gaZ7PBOEQCdtYODPyLApXPLycAJWyn98hKDheG"], ["created_at", "2018-11-08 01:03:19.457014"], ["updated_at", "2018-11-08 01:03:19.457014"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267748"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$3qpmr1sRhbxV4YMpIhJZ6OZ4ebXlv.tCxhqjZJNYscs8697FRNn4a"], ["created_at", "2018-11-08 01:03:19.627950"], ["updated_at", "2018-11-08 01:03:19.627950"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267749"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$N/lFFS82m7B4J0ZmWClzmevKbrTyB/5avuKSjz8GIl9f6fzyiL1NW"], ["created_at", "2018-11-08 01:03:19.798918"], ["updated_at", "2018-11-08 01:03:19.798918"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:03:19 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267750"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.9ms)

 (0.6ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$b4aStmx8CvODfz4dOLzozu9XE7EqWnJTSUqL9I3wePJ2p8XaZiz3y"], ["created_at", "2018-11-08 01:04:26.028781"], ["updated_at", "2018-11-08 01:04:26.028781"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267751"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "8NR8DU_VA0fUzAvqnBSeCg"], ["updated_at", "2018-11-08 01:04:26.043243"], ["id", 293267751]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:04:26.047179"], ["reset_sent_at", "2018-11-08 01:04:26.046698"], ["id", 293267751]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 265.9ms Sent mail to teste@unb.com.br (5089.9ms) Date: Wed, 07 Nov 2018 23:04:26 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38b9a4f2d9_40b934f0d025d9@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38b9a4da9b_40b934f0d0249f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38b9a4da9b_40b934f0d0249f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/8NR8DU_VA0fUzAvqnBSeCg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38b9a4da9b_40b934f0d0249f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/8NR8DU_VA0fUzAvqnBSeCg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38b9a4da9b_40b934f0d0249f–

Redirected to test.host/login Completed 302 Found in 5375ms (ActiveRecord: 3.3ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ckvcRdSoTFDAutRLPfHEJ.zRLrr77zBwoyIBddUoXOeVQ5.o8zXeK"], ["created_at", "2018-11-08 01:04:31.662915"], ["updated_at", "2018-11-08 01:04:31.662915"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$z7GI1h1ywtCCL38vpVpgBu3DLBttslQ3sPpHdRAnE6RhPlzJ/EBX6"], ["created_at", "2018-11-08 01:04:31.869548"], ["updated_at", "2018-11-08 01:04:31.869548"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267753"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$7UaD1PyownCCd48JSOcBo.NA2oi2Kd52Bz3iijSW7Bvh9L5W20ffK"], ["created_at", "2018-11-08 01:04:32.090300"], ["updated_at", "2018-11-08 01:04:32.090300"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267754"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$AzDFpIk8tw6GYScW6P5grulyLE/sDT5C.qITUqpzD2jlkCk7oZxhi"], ["created_at", "2018-11-08 01:04:32.263255"], ["updated_at", "2018-11-08 01:04:32.263255"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267755"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.3ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$/yZ62551NgFL8cDzAySafeYN8HgmEvjtskEDpKwVQv7OKP2J3WblW"], ["created_at", "2018-11-08 01:04:32.433300"], ["updated_at", "2018-11-08 01:04:32.433300"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267756"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" IS NULL LIMIT $1  [["LIMIT", 1]]

Redirected to test.host/ Filter chain halted as :valid_user rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$iYru70g9fdnDPALoCFFxJ.T/wTuPcOs8J83TilLE/Oifvc1CQx3HO"], ["created_at", "2018-11-08 01:04:32.603854"], ["updated_at", "2018-11-08 01:04:32.603854"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:04:32 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267757"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$5QuE4R5EXL193r3uLur.KuJpg0YV9/6I3da4uyhVLw49mA6d.piXa"], ["created_at", "2018-11-08 01:05:17.395128"], ["updated_at", "2018-11-08 01:05:17.395128"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267758"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "2KDwq2swAwQcZlpcr09BPw"], ["updated_at", "2018-11-08 01:05:17.422900"], ["id", 293267758]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:05:17.428872"], ["reset_sent_at", "2018-11-08 01:05:17.427901"], ["id", 293267758]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 288.6ms Sent mail to teste@unb.com.br (3146.1ms) Date: Wed, 07 Nov 2018 23:05:17 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38bcdb3374_48bd4630e858359@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38bcdb19fe_48bd4630e8582c0";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38bcdb19fe_48bd4630e8582c0 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/2KDwq2swAwQcZlpcr09BPw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38bcdb19fe_48bd4630e8582c0 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/2KDwq2swAwQcZlpcr09BPw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38bcdb19fe_48bd4630e8582c0–

Redirected to test.host/login Completed 302 Found in 3466ms (ActiveRecord: 3.1ms)

 (0.9ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$OVrjtK0EHqrtWNwMTYViO.VW0bus4QqiWf5DUX/t8VAil.C93/Nm6"], ["created_at", "2018-11-08 01:05:21.139569"], ["updated_at", "2018-11-08 01:05:21.139569"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$rG5rf1DpPFHR58zqUsHujuu/XV73ink00IKhhsoR.gWnxJJ8V98PW"], ["created_at", "2018-11-08 01:05:21.319477"], ["updated_at", "2018-11-08 01:05:21.319477"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "reset_sent_at"=>"2018-11-07 23:05:21 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267760"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.9ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$l63cEzl1vLgd3yAz.cpqHOhNG.ObKbHyN1daWihH1h0AohlMbP7re"], ["created_at", "2018-11-08 01:05:21.491946"], ["updated_at", "2018-11-08 01:05:21.491946"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267761"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$oZ89danwpjwuPT1ugZrmGeZg3bc/WdCgeUV/lz3JukGMpRvUKWZc6"], ["created_at", "2018-11-08 01:05:21.674683"], ["updated_at", "2018-11-08 01:05:21.674683"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:05:21 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267762"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.0ms)

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$NSD9egsqDzcLYxwTl48Bdu8oPhleG7Q4O1lemIhMU93.TbQTUqtJq"], ["created_at", "2018-11-08 01:05:21.877124"], ["updated_at", "2018-11-08 01:05:21.877124"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:05:21 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267763"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Qj6EjPcYOAcV6Qj6CU2VeulaRdQ8JVKOom.kJwTo6D1ImRogO0SiG"], ["created_at", "2018-11-08 01:05:22.045724"], ["updated_at", "2018-11-08 01:05:22.045724"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:05:22 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267764"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.8ms)

 (0.4ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$V3eBfU1mn8GsrcEF8qXZ..r5p7wkOqm8vr83MXu.nI2YkBwoyE9vK"], ["created_at", "2018-11-08 01:10:08.513707"], ["updated_at", "2018-11-08 01:10:08.513707"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267765"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "EvGSjwxG2mVqPpbFldahyg"], ["updated_at", "2018-11-08 01:10:08.528413"], ["id", 293267765]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:10:08.531946"], ["reset_sent_at", "2018-11-08 01:10:08.531445"], ["id", 293267765]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 269.4ms Sent mail to teste@unb.com.br (3144.6ms) Date: Wed, 07 Nov 2018 23:10:08 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38cf0c646e_74a1f090d86172f@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38cf0c4cb3_74a1f090d8616d9";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38cf0c4cb3_74a1f090d8616d9 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/EvGSjwxG2mVqPpbFldahyg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38cf0c4cb3_74a1f090d8616d9 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/EvGSjwxG2mVqPpbFldahyg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38cf0c4cb3_74a1f090d8616d9–

Redirected to test.host/login Completed 302 Found in 3432ms (ActiveRecord: 2.0ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$lEURehZlZXYoddU1IcdfjeFzxLLbFs8rersSLzaxX36FkLVuMTpWK"], ["created_at", "2018-11-08 01:10:12.214799"], ["updated_at", "2018-11-08 01:10:12.214799"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$fj8ndb1L0WRV2JNddKz/IupaFYBhsnROBIy9qBlBzrcnX.tZBarIS"], ["created_at", "2018-11-08 01:10:12.407964"], ["updated_at", "2018-11-08 01:10:12.407964"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "reset_sent_at"=>"2018-11-07 23:10:12 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267767"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.8ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$f9U1Oblc4ehpcTFT2ScmAOiG.LjRq8IF2DNJztVatCnMlh6lK6AlC"], ["created_at", "2018-11-08 01:10:12.583326"], ["updated_at", "2018-11-08 01:10:12.583326"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267768"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$ILqIkzQqYj/YwvrLxawh4.UtyEXjlTArHoVGln4qCAkJ8A/4BbD4W"], ["created_at", "2018-11-08 01:10:12.757633"], ["updated_at", "2018-11-08 01:10:12.757633"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:10:12 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267769"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.9ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$IlgdjMUc1nzdjAaWGmPC.OG1T4MXl1aJNcrI1MhAKrXWatF9H2TZy"], ["created_at", "2018-11-08 01:10:12.928839"], ["updated_at", "2018-11-08 01:10:12.928839"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:10:12 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267770"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$1TlQ5B.pgKap9mOOOKmLy.DsmOc3cOhuVTBMp4BNb0Jl7mLH6kp.u"], ["created_at", "2018-11-08 01:10:13.098511"], ["updated_at", "2018-11-08 01:10:13.098511"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 01:10:13 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267771"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:10:37 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (7.3ms)
Rendered password_resets/edit.html.erb within layouts/application (252.9ms)
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (8.4ms)

Completed 200 OK in 409ms (Views: 366.1ms | ActiveRecord: 6.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-07 23:10:44 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"6zj+BZkVgYJG4MQGKrF8QUadr2EHJbYRar0DZhPZC+2bqG0uYsAsQrT0ghj69E0yk9IeDvhtFxd6upPgYGc70w=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 24ms (ActiveRecord: 0.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-07 23:10:44 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.4ms)

Completed 200 OK in 65ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:10:48 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.1ms)
Rendered password_resets/edit.html.erb within layouts/application (14.9ms)

Completed 200 OK in 104ms (Views: 96.4ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ” for 127.0.0.1 at 2018-11-07 23:11:04 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"epEGupq72+C57z0C5UiKPvA48A67JftZjUsizNmOQEhS50oD6U4GonKJmEymm/Ps8o9dJB83Z71ygPPfVfbEjg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (12.2ms)

Completed 200 OK in 276ms (Views: 89.8ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ” for 127.0.0.1 at 2018-11-07 23:11:08 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JvV7972/wl9nJmWrcfxoODRIu/CmSgxwJBJMec4d9soOgzdOzkofHaxAwOUyLxHqNv8W2gJYkJTb2Z1qQmVyDA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.5ms)
Rendered password_resets/edit.html.erb within layouts/application (14.3ms)

Completed 200 OK in 250ms (Views: 76.3ms | ActiveRecord: 1.0ms)

Started GET “/password_resets/4vut0GEwAhfQGx8nvhoW6Q/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:11:19 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.7ms)
Rendered password_resets/edit.html.erb within layouts/application (17.5ms)

Completed 200 OK in 81ms (Views: 74.2ms | ActiveRecord: 1.1ms)

Started PATCH “/password_resets/4vut0GEwAhfQGx8nvhoW6Q” for 127.0.0.1 at 2018-11-07 23:11:22 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fSWuVxjByIwEy8RQwi6x6+72XrqTnEweeksOLoTSYOxVU+LuazQVzs+tYR6B/cg57EHzkDeO0PqFgN89CKrkKg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (8.4ms)

Completed 200 OK in 225ms (Views: 51.7ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/4vut0GEwAhfQGx8nvhoW6Q” for 127.0.0.1 at 2018-11-07 23:11:24 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"W8JMmFeGHZswrIZSKZy+pw+EpuVJ3YyvGA+qQ881ZB1ztAAhJHPA2fvKIxxqT8d1DTMLz+3PEEvnxHtQQ03g2w==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (11.5ms)

Completed 200 OK in 66ms (Views: 59.1ms | ActiveRecord: 1.5ms)

Started PATCH “/password_resets/4vut0GEwAhfQGx8nvhoW6Q” for 127.0.0.1 at 2018-11-07 23:11:31 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GMKXJSjghsLB4zo7yYDqGE+155PsAV6XmxSX03yXvhUwtNucWxVbgAqFn3WKU5PKTQJKuUgTwnNk30bA8O860w==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (2.4ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$MkbNAK6lk4Fg/eRbK5CmV.ItOxuC9mzfABRukAKiWqunEZnVrQoUC"], ["updated_at", "2018-11-08 01:11:31.695154"], ["id", 293267688]]
 (66.9ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 297ms (ActiveRecord: 71.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:11:31 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.7ms)
Rendered users/sessions/new.html.erb within layouts/application (14.3ms)

Completed 200 OK in 63ms (Views: 58.6ms | ActiveRecord: 0.0ms)

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ww8mNqzIZvDj3StqrExtgeTRU5zHG9m.EBVUvzw447XoILn9MfmWq"], ["created_at", "2018-11-08 01:12:30.289288"], ["updated_at", "2018-11-08 01:12:30.289288"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267772"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "9WOsUN_dBxYj_YxHVVe4XA"], ["updated_at", "2018-11-08 01:12:30.303992"], ["id", 293267772]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:12:30.307657"], ["reset_sent_at", "2018-11-08 01:12:30.307146"], ["id", 293267772]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 274.1ms Sent mail to teste@unb.com.br (3081.3ms) Date: Wed, 07 Nov 2018 23:12:30 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be38d7e90c7b_b4d12fb0d87584@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be38d7e8f44a_b4d12fb0d8757ea";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be38d7e8f44a_b4d12fb0d8757ea Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/9WOsUN_dBxYj_YxHVVe4XA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be38d7e8f44a_b4d12fb0d8757ea Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/9WOsUN_dBxYj_YxHVVe4XA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be38d7e8f44a_b4d12fb0d8757ea–

Redirected to test.host/login Completed 302 Found in 3374ms (ActiveRecord: 2.6ms)

 (0.6ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pTE90b9bF58o1L1xtfqZ8.1dywxbbiLOG/cW6RU48JHuDdQteJA5K"], ["created_at", "2018-11-08 01:12:33.898514"], ["updated_at", "2018-11-08 01:12:33.898514"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$MODuKXEwb1H/b7kyztNNH.UBLfhqI3T0kOUDh9UakKg2eemlbn9si"], ["created_at", "2018-11-08 01:12:34.090517"], ["updated_at", "2018-11-08 01:12:34.090517"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "reset_sent_at"=>"2018-11-07 23:12:34 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267774"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$ppSdLAjuTBAL5BpSQ/riDOlbBRZOeviip1NOlVTut6uAWSNb0sbvm"], ["updated_at", "2018-11-08 01:12:34.255914"], ["id", 293267774]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 165ms (ActiveRecord: 2.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$xwUD6H4DBmLfCi96x8M.xeWgwfYtPAahiZ16zd08JqnrIaiw798TS"], ["created_at", "2018-11-08 01:12:34.426158"], ["updated_at", "2018-11-08 01:12:34.426158"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267775"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$cXh.yNf8/tdPYZTZkgDtCO0f/UyuuSvg82JhXHEbsVgbe.GyNMRbi"], ["created_at", "2018-11-08 01:12:34.612637"], ["updated_at", "2018-11-08 01:12:34.612637"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:12:34 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267776"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 175ms (Views: 4.1ms | ActiveRecord: 0.9ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$rLKjjlb7QP7zvddAbeYrBOxn2VI/tbEgL6CRNdLK9Fd3cLDuqNZqa"], ["created_at", "2018-11-08 01:12:34.956485"], ["updated_at", "2018-11-08 01:12:34.956485"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-07 23:12:34 -0200", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267777"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 203ms (Views: 39.2ms | ActiveRecord: 1.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$VEWv7SFcRsfQrhhwsqZzxeq2vykz/qgAoSIf.8XhBE7nyYh19LSTe"], ["created_at", "2018-11-08 01:12:35.356764"], ["updated_at", "2018-11-08 01:12:35.356764"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 01:12:35 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267778"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 1.0ms)

 (0.5ms)  ROLLBACK

Started GET “/password_resets/4vut0GEwAhfQGx8nvhoW6Q/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:13:54 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (11.6ms)
Rendered password_resets/edit.html.erb within layouts/application (273.2ms)

Completed 200 OK in 424ms (Views: 382.6ms | ActiveRecord: 4.9ms)

Started PATCH “/password_resets/4vut0GEwAhfQGx8nvhoW6Q” for 127.0.0.1 at 2018-11-07 23:14:02 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"W7KeYlqI33TzPLAMFS2S089VNYD1vx1YL4s9O3xPsm9zxNLbKX0CNjhaFUJW/usBzeKYqlGtgbzQQOwo8Dc2qQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"4vut0GEwAhfQGx8nvhoW6Q"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$qKoe3dJy.aM3FvLZ5wmMjuiLpUREpxnFGBoO1ojgAShY3XD3vtrA2"], ["updated_at", "2018-11-08 01:14:02.614501"], ["id", 293267688]]
 (64.9ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 275ms (ActiveRecord: 66.4ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:14:02 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (20.1ms)
Rendered users/sessions/new.html.erb within layouts/application (29.5ms)

Completed 200 OK in 86ms (Views: 82.2ms | ActiveRecord: 0.0ms)

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$9beAIgnVg0NSlyukBH1uWOpP0VrX36QH9tfpR1ChTEseAMo.RgZwW"], ["created_at", "2018-11-08 01:33:50.967871"], ["updated_at", "2018-11-08 01:33:50.967871"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267779"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "TD1d9h4oHVFMmoCugUxJxw"], ["updated_at", "2018-11-08 01:33:50.984731"], ["id", 293267779]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:33:50.989241"], ["reset_sent_at", "2018-11-08 01:33:50.988457"], ["id", 293267779]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 320.6ms Sent mail to teste@unb.com.br (3564.1ms) Date: Wed, 07 Nov 2018 23:33:51 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3927f4ef48_4b3411c90e87496@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3927f4ce3f_4b3411c90e87396";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3927f4ce3f_4b3411c90e87396 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/TD1d9h4oHVFMmoCugUxJxw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3927f4ce3f_4b3411c90e87396 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/TD1d9h4oHVFMmoCugUxJxw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3927f4ce3f_4b3411c90e87396–

Redirected to test.host/login Completed 302 Found in 3907ms (ActiveRecord: 2.7ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$A1Ds1izhycWBp7AXtGqJ3.PkIijFzTBKPPNHXuR.Flp46bzAee8cW"], ["created_at", "2018-11-08 01:33:55.131065"], ["updated_at", "2018-11-08 01:33:55.131065"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 23.8ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$QyEr2x2/DO7sjjl9q7.VEe9qMcYTjizuZw0omdsqb9kRvIydxNN3q"], ["created_at", "2018-11-08 01:33:55.366416"], ["updated_at", "2018-11-08 01:33:55.366416"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267781"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$LKJmpFq9yS7UtmCop6myH.9KsdDR1WkeE0JZt1SHRYyzMystkTHOy"], ["created_at", "2018-11-08 01:33:55.539281"], ["updated_at", "2018-11-08 01:33:55.539281"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267782"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.6ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$0YZqLytpsg0M6gGT4IrgZ.CfFnS1FFPhZzW5v9hXbzd/6Qtp0a0fS"], ["created_at", "2018-11-08 01:33:55.726108"], ["updated_at", "2018-11-08 01:33:55.726108"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267783"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.8ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$D7Ue6FUvUVALB5O1zfjJ9O4u5JFEs.Z/2aQ4u/3xj.XXil2IF5/ne"], ["created_at", "2018-11-08 01:33:55.960370"], ["updated_at", "2018-11-08 01:33:55.960370"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267784"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$JnDI0yBTl3YpMrOzZwN1VO0xYPghtXBhKCKFn8Nx1v1VdIxNf0CfG"], ["created_at", "2018-11-08 01:33:56.134816"], ["updated_at", "2018-11-08 01:33:56.134816"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267785"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$f.25bEu6ngzVHH9AfdqGje3VQM9J2lP7jE/jkoH0RARpeUpOw5FcK"], ["created_at", "2018-11-08 01:34:12.675311"], ["updated_at", "2018-11-08 01:34:12.675311"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267786"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "UOxWTDoGBxJDLt18tNR7vA"], ["updated_at", "2018-11-08 01:34:12.706224"], ["id", 293267786]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:34:12.711026"], ["reset_sent_at", "2018-11-08 01:34:12.710386"], ["id", 293267786]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 266.8ms Sent mail to teste@unb.com.br (3275.0ms) Date: Wed, 07 Nov 2018 23:34:12 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be39294f1e4d_4e39dfb0d8141c4@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be39294f03b6_4e39dfb0d814075";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be39294f03b6_4e39dfb0d814075 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/UOxWTDoGBxJDLt18tNR7vA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be39294f03b6_4e39dfb0d814075 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/UOxWTDoGBxJDLt18tNR7vA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be39294f03b6_4e39dfb0d814075–

Redirected to test.host/login Completed 302 Found in 3566ms (ActiveRecord: 2.4ms)

 (0.7ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$yyO3ZNplJvmGJ00vDSD4xu16tyh9ruetQr2jprxc5sXkfxsXiNbYG"], ["created_at", "2018-11-08 01:34:16.488373"], ["updated_at", "2018-11-08 01:34:16.488373"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ce2QHyNJuitjuumXYcHZFO1MOoBZ3U7cV2f4wYUoTOKcbU3m5D26i"], ["created_at", "2018-11-08 01:34:16.670797"], ["updated_at", "2018-11-08 01:34:16.670797"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267788"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$ezanwVJGAkWeQ0vdnFoHt.cwWb/.Ne2CpZVsUIN2r6QcH1gEVaHEO"], ["updated_at", "2018-11-08 01:34:16.840566"], ["id", 293267788]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 168ms (ActiveRecord: 1.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$VT5/wuOjwGuAPFSlF3.ct.yf.5oZy/A9i4fDEKPvxG9lvQuPNiRcC"], ["created_at", "2018-11-08 01:34:17.012081"], ["updated_at", "2018-11-08 01:34:17.012081"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267789"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$kkWm3fx.Ip./saDydD9Tm..JBBPqv/cCntkbTSBE3S8h./4qwu9YK"], ["created_at", "2018-11-08 01:34:17.191863"], ["updated_at", "2018-11-08 01:34:17.191863"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267790"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 175ms (Views: 4.4ms | ActiveRecord: 1.1ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$DJgIZ3wtwiHq0GqfvS3svOGg8fcFstVkpl8H1gkCYYpCDjMhr9./O"], ["created_at", "2018-11-08 01:34:17.539468"], ["updated_at", "2018-11-08 01:34:17.539468"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267791"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 168ms (Views: 3.6ms | ActiveRecord: 1.1ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$lJZjsRvE/SfOKOVA9GfWxe3JElDdCZzqR8wGLLIMWtniiB9gzCiRy"], ["created_at", "2018-11-08 01:34:17.877925"], ["updated_at", "2018-11-08 01:34:17.877925"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267792"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-07 23:40:26 -0200

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.4ms)

Completed 200 OK in 270ms (Views: 261.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:40:28 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (20.0ms)
Rendered users/sessions/new.html.erb within layouts/application (33.4ms)

Completed 200 OK in 111ms (Views: 74.6ms | ActiveRecord: 5.8ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 23:40:31 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (4.0ms)

Completed 200 OK in 101ms (Views: 98.0ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 23:40:34 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qTx2w8SzU0l9ohLPMMq7ARo0ECcBEmAdHItL4A0sAiwefYCC454Grgv2wU/Og1e+McjHB5G7zfao7aY1UgvhIA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered password_resets/new.html.erb within layouts/application (1.8ms)

Completed 200 OK in 66ms (Views: 55.0ms | ActiveRecord: 0.8ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:42:24 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (22.4ms)

Completed 200 OK in 113ms (Views: 108.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:42:25 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (16.0ms)

Completed 200 OK in 89ms (Views: 86.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 23:42:27 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.9ms)
Rendered password_resets/new.html.erb within layouts/application (17.0ms)

Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 23:42:29 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Ajsqi75ykKydldXUS+nqtvwe+O5wX2MGKM8pkp1GY9q1etzKmV/FS+vBBlS1oAYJ1+IvzuD2zu2cqcRHwmGA1g==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (3.4ms)
Rendered password_resets/new.html.erb within layouts/application (12.4ms)

Completed 200 OK in 59ms (Views: 56.4ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 23:42:34 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZwdVxayRFUXolsLxlOOZIoPmSL7qnADz4A79BIQNJmBPcRl832TIByPwZ7/XMODwgVHllE6OnBcfxSwXCHWipg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "cdcdcc@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.8ms)
Rendered password_resets/new.html.erb within layouts/application (19.9ms)

Completed 200 OK in 97ms (Views: 91.6ms | ActiveRecord: 0.7ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 23:42:36 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ymf+pK+wjePtwS5q+zJBq1lrDwJv0Wzlq4oXF6PtVZbiEbId3EVQoSaniyS44Th5W9yiKMvD8AFUQcYEL5XRUA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "JxM4blqtT3VXhCQbYcocsw"], ["updated_at", "2018-11-08 01:42:36.406552"], ["id", 293267688]]
 (228.4ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 01:42:36.641848"], ["reset_sent_at", "2018-11-08 01:42:36.641025"], ["id", 293267688]]
 (163.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.2ms)

UserMailer#password_reset: processed outbound mail in 250.5ms Sent mail to andre_luisferreira@hotmail.com (3109.6ms) Date: Wed, 07 Nov 2018 23:42:37 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3948d12fc0_9a29fd56c9969d@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3948d115d3_9a29fd56c99524";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3948d115d3_9a29fd56c99524 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3948d115d3_9a29fd56c99524 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/JxM4blqtT3VXhCQbYcocsw/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3948d115d3_9a29fd56c99524–

Redirected to localhost:3000/login Completed 302 Found in 3791ms (ActiveRecord: 393.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:42:40 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.4ms)
Rendered users/sessions/new.html.erb within layouts/application (16.4ms)

Completed 200 OK in 84ms (Views: 80.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-07 23:49:30 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (5.8ms)
Rendered password_resets/new.html.erb within layouts/application (19.4ms)

Completed 200 OK in 62ms (Views: 60.6ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-07 23:49:32 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lZEVrRfh6RMmoG1I+9H+CE9Le1e7/Dr+K+PFGutS4zIi0OPsMMy89FD0vsgFmBK3ZLesdytVlxWfhSjPtHUAPg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "cdcdcc@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.9ms)
Rendered password_resets/new.html.erb within layouts/application (12.0ms)

Completed 200 OK in 74ms (Views: 69.8ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:49:40 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.3ms)
Rendered password_resets/edit.html.erb within layouts/application (44.3ms)

Completed 200 OK in 208ms (Views: 198.9ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/JxM4blqtT3VXhCQbYcocsw” for 127.0.0.1 at 2018-11-07 23:49:43 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VbOgYFXr6ikjzslCaUBmLoeVI9bHJ6S18Ww5zDw6P8V9xezZJh43a+iobAwqkx/8hSKO/GM1OFEOp+jfsEK7Aw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.2ms)
Rendered password_resets/edit.html.erb within layouts/application (10.8ms)

Completed 200 OK in 243ms (Views: 60.3ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/JxM4blqtT3VXhCQbYcocsw” for 127.0.0.1 at 2018-11-07 23:49:45 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gsKj/SsX8+ktDLQZ/ke7ZacT5kbQzvOrdyGOOnA1o2aqtO9EWOIuq+ZqEVe9lMK3paRLbHTcb0+I6l8p/E0noA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.4ms)
Rendered password_resets/edit.html.erb within layouts/application (11.9ms)

Completed 200 OK in 70ms (Views: 65.8ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/JxM4blqtT3VXhCQbYcocsw” for 127.0.0.1 at 2018-11-07 23:49:50 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Z6O9zP+ItaeGnR4hYvSqN9IItNrpe3qfd2YAb7fhUF5P1fF1jH1o5U37u28hJ9Pl0L8Z8E1p5nuIrdF8O5nUmA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (6.5ms)

Completed 200 OK in 224ms (Views: 44.6ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/JxM4blqtT3VXhCQbYcocsw” for 127.0.0.1 at 2018-11-07 23:49:52 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"tWU52REDlH8WsRoX4qDWJbDWzyWl1GR53+FBxqaqLL2dE3VgYvZJPd3Xv1mhc6/3smFiDwHG+J0gKpDVKtKoew==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (9.0ms)

Completed 200 OK in 240ms (Views: 64.4ms | ActiveRecord: 0.8ms)

Started GET “/password_resets/UNarbpgYTpYYU5Hr0t_V8g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:50:26 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.0ms)
Rendered password_resets/edit.html.erb within layouts/application (8.4ms)

Completed 200 OK in 72ms (Views: 68.7ms | ActiveRecord: 0.2ms)

Started GET “/password_resets/UNarbpgYTpYYU5Hr0t_V8g/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-07 23:50:39 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (10.0ms)

Completed 200 OK in 76ms (Views: 73.3ms | ActiveRecord: 0.3ms)

Started PATCH “/password_resets/UNarbpgYTpYYU5Hr0t_V8g” for 127.0.0.1 at 2018-11-07 23:50:49 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nJUbFALgDrIgfavSOGe9Yb4K9u4PR/It25O+mwHUVJi041etcRXT8OsbDpx7tMSzvL1bxKtVbskkWG+IjazQXg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"UNarbpgYTpYYU5Hr0t_V8g"}
User Load (1.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.5ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$UyeSYCvL2Iu3O5LwdV/h0Oh879AvxHbCWHqCi/pPi0BcGgfFvUtRO"], ["updated_at", "2018-11-08 01:50:49.391931"], ["id", 293267688]]
 (60.9ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 284ms (ActiveRecord: 63.8ms)

Started GET “/login” for 127.0.0.1 at 2018-11-07 23:50:49 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.0ms)
Rendered users/sessions/new.html.erb within layouts/application (10.6ms)

Completed 200 OK in 55ms (Views: 52.6ms | ActiveRecord: 0.0ms)

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$GHn6dZCOKPRgqvDMwTWqOOewwEsPoe2uRtHiF2CLP8E6xnV5dNRbC"], ["created_at", "2018-11-08 02:03:19.031180"], ["updated_at", "2018-11-08 02:03:19.031180"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267793"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "bWl6mxipFvr1sqvmPFhVRQ"], ["updated_at", "2018-11-08 02:03:19.045751"], ["id", 293267793]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:03:19.049205"], ["reset_sent_at", "2018-11-08 02:03:19.048716"], ["id", 293267793]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 251.8ms Sent mail to teste@unb.com.br (3330.5ms) Date: Thu, 08 Nov 2018 00:03:19 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be399674c30f_5bbfc990dc694e4@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be399674a960_5bbfc990dc693c6";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be399674a960_5bbfc990dc693c6 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/bWl6mxipFvr1sqvmPFhVRQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be399674a960_5bbfc990dc693c6 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/bWl6mxipFvr1sqvmPFhVRQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be399674a960_5bbfc990dc693c6–

Redirected to test.host/login Completed 302 Found in 3602ms (ActiveRecord: 2.4ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$F2CxEtvBOHP.z8dR0Y2iI.E9wzvg5LigmR.Yb2r061kRdxWJaNasW"], ["created_at", "2018-11-08 02:03:22.908795"], ["updated_at", "2018-11-08 02:03:22.908795"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$SgeUNu7G4CJQahJ5w63epuoDg7A9pc2ruqd/wZj4uYWPl0VS14J1K"], ["created_at", "2018-11-08 02:03:23.083826"], ["updated_at", "2018-11-08 02:03:23.083826"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267795"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$320a9Ba.r.8LPToBrnqile6mTYdC.vKULYeLqVaW7/E3jvuEG.PjO"], ["created_at", "2018-11-08 02:03:23.253953"], ["updated_at", "2018-11-08 02:03:23.253953"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267796"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$.OgDEAY4FCv0FkYbi7WW4e9QWklrsxP2CFv0SXsNGOy5H86I5.TjS"], ["created_at", "2018-11-08 02:03:23.427459"], ["updated_at", "2018-11-08 02:03:23.427459"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267797"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$5xWAnGjse0yVNRH13dufz.YxOadYV/Nac5LGT3Q8wDoIZBNeHB7j."], ["created_at", "2018-11-08 02:03:23.596832"], ["updated_at", "2018-11-08 02:03:23.596832"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267798"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$/idGzEvJ70Hkthj5uCWPJuEwHaj4C6W696.vNIlcfdhMqb.aHQ4Py"], ["created_at", "2018-11-08 02:03:23.768744"], ["updated_at", "2018-11-08 02:03:23.768744"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267799"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$GshC8uKyuHJxKGjBVJZNU.wmzogcshGTKl6dKlxsehljGiouCIQD6"], ["created_at", "2018-11-08 02:03:38.760752"], ["updated_at", "2018-11-08 02:03:38.760752"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267800"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "4J9iw5X26sojb0SyOZmx7w"], ["updated_at", "2018-11-08 02:03:38.782551"], ["id", 293267800]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:03:38.787263"], ["reset_sent_at", "2018-11-08 02:03:38.786495"], ["id", 293267800]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 285.8ms Sent mail to teste@unb.com.br (3139.2ms) Date: Thu, 08 Nov 2018 00:03:39 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3997b15291_5ebae130d479431@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3997b136a7_5ebae130d47937e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3997b136a7_5ebae130d47937e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/4J9iw5X26sojb0SyOZmx7w/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3997b136a7_5ebae130d47937e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/4J9iw5X26sojb0SyOZmx7w/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3997b136a7_5ebae130d47937e–

Redirected to test.host/login Completed 302 Found in 3450ms (ActiveRecord: 2.1ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$SQ74BjFHXeisHgv14qNem.UjahluBxgpzp2uuASMopSu1FiSE9ykO"], ["created_at", "2018-11-08 02:03:42.439739"], ["updated_at", "2018-11-08 02:03:42.439739"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.3ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$v3NTZs/KiyRtJXEP2ZhIvu/c68cMwPlJRZTdi/HXV88373QS9X4Gi"], ["created_at", "2018-11-08 02:03:42.619391"], ["updated_at", "2018-11-08 02:03:42.619391"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267802"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$.SBjZlHaDAyCeH2SLcVz0uh.0ybaj/1ZnY8C07gvPdscjQ.t4CWIG"], ["updated_at", "2018-11-08 02:03:42.783927"], ["id", 293267802]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 163ms (ActiveRecord: 1.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$iQqTMOxGPkXOaWDcD5xFieVidrhXtijozRn8zHeQmYNEQesC4sQpC"], ["created_at", "2018-11-08 02:03:42.991186"], ["updated_at", "2018-11-08 02:03:42.991186"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267803"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.8ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$uWeyEVse7oaQNSddBBzYb.5ZuDi1IHEPVCzvZh8qWDLFo5iaNrxLq"], ["created_at", "2018-11-08 02:03:43.178716"], ["updated_at", "2018-11-08 02:03:43.178716"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267804"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.5ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 174ms (Views: 5.2ms | ActiveRecord: 1.2ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$hJRNSw7yZCC0jUJGGkMQZ.E06.ahR9OW8ntS7ZGoHE8Oaph5alSVG"], ["created_at", "2018-11-08 02:03:43.523438"], ["updated_at", "2018-11-08 02:03:43.523438"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267805"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 165ms (Views: 3.6ms | ActiveRecord: 1.1ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$IoIIA7FwyeGEv3dLMF0sy.X9.23bU.B2fV2e0md/hyItqzHpvYx5O"], ["created_at", "2018-11-08 02:03:43.855416"], ["updated_at", "2018-11-08 02:03:43.855416"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267806"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.7ms)

 (0.5ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Cd9/G5c/VPG2W0/7QBV.uekUlM/RrlbK1aoCvcjpN/JyOxsQiWN7y"], ["created_at", "2018-11-08 02:05:04.074141"], ["updated_at", "2018-11-08 02:05:04.074141"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267807"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "WAvq5DejTto705_YbbssLQ"], ["updated_at", "2018-11-08 02:05:04.089079"], ["id", 293267807]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:05:04.093110"], ["reset_sent_at", "2018-11-08 02:05:04.092658"], ["id", 293267807]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 268.1ms Sent mail to teste@unb.com.br (3113.6ms) Date: Thu, 08 Nov 2018 00:05:04 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be399d05ade6_6ada80b0d8541d7@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be399d0596b1_6ada80b0d8540a5";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be399d0596b1_6ada80b0d8540a5 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/WAvq5DejTto705_YbbssLQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be399d0596b1_6ada80b0d8540a5 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/WAvq5DejTto705_YbbssLQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be399d0596b1_6ada80b0d8540a5–

Redirected to test.host/login Completed 302 Found in 3401ms (ActiveRecord: 3.6ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$h6Wo7PAWWXjL7DL3wFMwk.d3b/PXagpucznpiyBZfXagKh8t0NuwK"], ["created_at", "2018-11-08 02:05:07.749048"], ["updated_at", "2018-11-08 02:05:07.749048"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8W53qRH6aGX5eY8k.Uzf1OL3b1nF2C.4dCXpmQ4hVFu6lwj0h52zy"], ["created_at", "2018-11-08 02:05:07.923930"], ["updated_at", "2018-11-08 02:05:07.923930"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267809"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$eGBNIsKGQ.p7RCfKTya/Bu.0pmXCc6ASjFWpyQ/OXDOK0gNm7OhTm"], ["updated_at", "2018-11-08 02:05:08.085808"], ["id", 293267809]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 162ms (ActiveRecord: 1.4ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$T2K2snrW6emCtd1UqEAaS.8g85NOx41unhlYFbBemJtsiZmDUmEXG"], ["created_at", "2018-11-08 02:05:08.251946"], ["updated_at", "2018-11-08 02:05:08.251946"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267810"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$XiaGJaFKECVPTdOlFvyTB.C7LQQRgju60DGARwvUOtng3PuK3BjSC"], ["created_at", "2018-11-08 02:05:08.423738"], ["updated_at", "2018-11-08 02:05:08.423738"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267811"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 171ms (Views: 3.6ms | ActiveRecord: 1.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$gTgSyKPlhosIRqGywdjsJemW5js8TPaHkWyxjmWBOTS3rXbrSpzNS"], ["created_at", "2018-11-08 02:05:08.763315"], ["updated_at", "2018-11-08 02:05:08.763315"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267812"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 164ms (Views: 3.6ms | ActiveRecord: 1.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$tslKaHrUIe7h3N9XsTZkju9oV99U/lwYSL/7WqmCAi0HNfKo1.OWG"], ["created_at", "2018-11-08 02:05:09.093494"], ["updated_at", "2018-11-08 02:05:09.093494"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267813"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK

Started GET “/login” for 127.0.0.1 at 2018-11-08 00:05:46 -0200

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (21.6ms)
Rendered users/sessions/new.html.erb within layouts/application (252.9ms)

Completed 200 OK in 403ms (Views: 362.4ms | ActiveRecord: 4.8ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 00:05:51 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XjMzKxyBIV4NBR/sGXV38UZRjnayCcKcWgN0c+nBlHd2RX+Sb3T8HMZjuqJapg4jROYjXBYbXnilyKVgZbkQsQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (1.3ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-08 02:05:52.090730"], ["last_sign_in_at", "2018-11-08 00:52:34.817294"], ["sign_in_count", 3], ["updated_at", "2018-11-08 02:05:52.092772"], ["id", 293267688]]
 (137.0ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 376ms (ActiveRecord: 140.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 00:05:52 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.5ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 68ms (Views: 65.8ms | ActiveRecord: 0.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-08 00:05:54 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (12.2ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 95ms (Views: 89.1ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 00:05:54 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (16.4ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 77ms (Views: 57.3ms | ActiveRecord: 4.1ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-08 00:05:55 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267688]]
Rendered appointments/my_appointments.html.erb within layouts/application (13.9ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 110ms (Views: 76.3ms | ActiveRecord: 3.1ms)

Started GET “/users/293267688/edit” for 127.0.0.1 at 2018-11-08 00:05:55 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"293267688"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (9.7ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 81ms (Views: 74.3ms | ActiveRecord: 1.2ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 00:06:01 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"Vjn0hsj6HkN5TIb+BEEJfJCNO84k/v36fiUQKGx1lWCuFLqnbpauyTOgGa9lvpEZ3ztJQvzFBaealmuBnl0Vqg=="}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 19ms (ActiveRecord: 1.6ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 00:06:01 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.4ms)

Completed 200 OK in 69ms (Views: 66.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 00:06:02 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.6ms)
Rendered users/sessions/new.html.erb within layouts/application (15.8ms)

Completed 200 OK in 66ms (Views: 63.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 00:06:04 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.3ms)
Rendered password_resets/new.html.erb within layouts/application (11.2ms)

Completed 200 OK in 78ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 00:06:06 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Pry4zWHnie3WdtySYbbq2zzy6BXZT2KvUMFmQjRVHy53LmyINBfA0oRGsnDGDQNYQ31kuoDCoVlHYuVUVpI0Ew==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.2ms)
Rendered password_resets/new.html.erb within layouts/application (8.5ms)

Completed 200 OK in 55ms (Views: 50.7ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 00:06:09 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WeFS0H8vCHNixl6OblfLj9uQajczNtZmROp5Xf79Cd6yKi9nJljQbywDwOCWWQwieqNfy03fyPHT/wEODSpNig==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", ""], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.5ms)
Rendered password_resets/new.html.erb within layouts/application (17.6ms)

Completed 200 OK in 79ms (Views: 74.6ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 00:06:17 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/iy2M6aU5u96UytSROUhYrSD8OSTD1wsiEeclG8/zykV58uE/+M+8zSWtTy86+bPFbDFGO3mQrsfUuTHnOiLfQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.8ms)
Rendered password_resets/new.html.erb within layouts/application (14.0ms)

Completed 200 OK in 70ms (Views: 63.1ms | ActiveRecord: 0.4ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 00:06:19 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6nx6OTIo0p4VgbkMG/gNNPyoSZpOwJpUUF8Rg3foM1gBtweOa18KgltEJ2Lj9sqZXZt8ZjAphMPHSmnQhD93DA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (1.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "iQIveSAa6OOEq0KxmWu5-w"], ["updated_at", "2018-11-08 02:06:19.985370"], ["id", 293267688]]
 (182.4ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:06:20.174188"], ["reset_sent_at", "2018-11-08 02:06:20.172875"], ["id", 293267688]]
 (169.8ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.2ms)

UserMailer#password_reset: processed outbound mail in 280.5ms Sent mail to andre_luisferreira@hotmail.com (3048.9ms) Date: Thu, 08 Nov 2018 00:06:20 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be39a1c9e405_70f21f3937c67016@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be39a1c9c91e_70f21f3937c669da";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be39a1c9c91e_70f21f3937c669da Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be39a1c9c91e_70f21f3937c669da Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/iQIveSAa6OOEq0KxmWu5-w/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be39a1c9c91e_70f21f3937c669da–

Redirected to localhost:3000/login Completed 302 Found in 3714ms (ActiveRecord: 355.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 00:06:23 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (6.4ms)
Rendered users/sessions/new.html.erb within layouts/application (19.6ms)

Completed 200 OK in 87ms (Views: 84.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 00:06:25 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.9ms)
Rendered password_resets/new.html.erb within layouts/application (16.9ms)

Completed 200 OK in 75ms (Views: 73.5ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-11-08 00:06:27 -0200 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.6ms)
Rendered users/registrations/new.html.erb within layouts/application (12.9ms)

Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 00:06:40 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (11.6ms)

Completed 200 OK in 67ms (Views: 62.2ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/iQIveSAa6OOEq0KxmWu5-w” for 127.0.0.1 at 2018-11-08 00:06:45 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6WQv7dWe8wBKjWrhPjcgfCxkYRmcWgptgrkVRuTaLagCr1JajOkrHARI9I/GOefRjVdU5eKzFPoVrG0VFw1p/A==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.8ms)
Rendered password_resets/edit.html.erb within layouts/application (6.6ms)

Completed 200 OK in 213ms (Views: 43.2ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/iQIveSAa6OOEq0KxmWu5-w” for 127.0.0.1 at 2018-11-08 00:06:47 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lYvQRI0qubg403IEt+Cvk2M3pq4swNaBx2XlHGJkKeF+QK3z1F1hpHYW7GpP7mg+wgSTUlIpyBZQcJ1PkbNttQ==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (11.3ms)

Completed 200 OK in 73ms (Views: 68.4ms | ActiveRecord: 1.3ms)

Started PATCH “/password_resets/iQIveSAa6OOEq0KxmWu5-w” for 127.0.0.1 at 2018-11-08 00:06:56 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"TovlaIh6xRfMYMjYhlqHpD36PiKmEdE3FnBBI5EY5kilQJjf0Q0dC4KlVrZ+VEAJnMkL3tj4z6CBZTlwYs+iHA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.4ms)
Rendered password_resets/edit.html.erb within layouts/application (8.2ms)

Completed 200 OK in 225ms (Views: 49.0ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/iQIveSAa6OOEq0KxmWu5-w” for 127.0.0.1 at 2018-11-08 00:06:59 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ouqiad6xA/8i6PoMtoqhl7KwmnlZNeaNL7nSuB23S19JId/eh8bb42wtZGJOhGY6E4OvhSfc+Bq4rKrr7mAPCw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (9.5ms)
Rendered password_resets/edit.html.erb within layouts/application (15.1ms)

Completed 200 OK in 245ms (Views: 72.4ms | ActiveRecord: 0.7ms)

Started PATCH “/password_resets/iQIveSAa6OOEq0KxmWu5-w” for 127.0.0.1 at 2018-11-08 00:07:05 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GnGMkF36ESX2Bkkf2grgwfOZgWu7Tnk6g/nXOe4CYkbxuvEnBI3JObjD13EiBCdsUqq0l8WnZ60U7K9qHdUmEg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.8ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$wD/sTuM0WQVrDT.EtSSanuI/Mgz/qF4/Ml62/.gtQCFW4yswZ924u"], ["updated_at", "2018-11-08 02:07:05.296209"], ["id", 293267688]]
 (61.8ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 279ms (ActiveRecord: 63.1ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 00:07:05 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.4ms)
Rendered users/sessions/new.html.erb within layouts/application (16.3ms)

Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 00:07:12 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"kreDi3fHatmtbO3h+1+Y9dPTE232HpMgNvsB675OO6N5fP48LrCyxeOpc48DUV9YcuAmkYj3jbeh7nm4TZl/9w==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-08 02:07:12.769136"], ["last_sign_in_at", "2018-11-08 02:05:52.090730"], ["sign_in_count", 4], ["updated_at", "2018-11-08 02:07:12.770093"], ["id", 293267688]]
 (226.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 424ms (ActiveRecord: 227.7ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 00:07:13 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 46ms (Views: 44.0ms | ActiveRecord: 0.6ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 00:07:15 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"0gralv8UHC6J1RbO4RJg8hPz6a0K9baLICGfk7nf10qECvl3E6IeTeQsNkbJhr0fvEBNRTOttPe7QJJxwZzvjA=="}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 00:07:15 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 48ms (Views: 46.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 00:07:16 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.8ms)
Rendered users/sessions/new.html.erb within layouts/application (17.9ms)

Completed 200 OK in 90ms (Views: 87.3ms | ActiveRecord: 0.0ms)

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$16fdyrMd/4r2eyg4XaIAwOkbfAEG8aaIC.aj/uLX.1vx.Rfk5yfkK"], ["created_at", "2018-11-08 02:20:30.341063"], ["updated_at", "2018-11-08 02:20:30.341063"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267814"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "Rc3mQzuKtU8pv86QDBb9tw"], ["updated_at", "2018-11-08 02:20:30.355934"], ["id", 293267814]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:20:30.359489"], ["reset_sent_at", "2018-11-08 02:20:30.358999"], ["id", 293267814]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 252.0ms Sent mail to teste@unb.com.br (3145.0ms) Date: Thu, 08 Nov 2018 00:20:30 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be39d6e97fd8_748e10610e864683@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be39d6e966f5_748e10610e864585";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be39d6e966f5_748e10610e864585 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/Rc3mQzuKtU8pv86QDBb9tw/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be39d6e966f5_748e10610e864585 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/Rc3mQzuKtU8pv86QDBb9tw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be39d6e966f5_748e10610e864585–

Redirected to test.host/login Completed 302 Found in 3415ms (ActiveRecord: 2.6ms)

 (0.8ms)  ROLLBACK
 (0.5ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$A6exIQX75Uc8rdwXryRurei2CEwdumFhdxrM8I8C3YwRbysF7jq0u"], ["created_at", "2018-11-08 02:20:34.029049"], ["updated_at", "2018-11-08 02:20:34.029049"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$82vuOOLqNuUsGP965eCe8OpwEhkhSMNNOSDCheQULKkIxiIImL8Hq"], ["created_at", "2018-11-08 02:20:34.205547"], ["updated_at", "2018-11-08 02:20:34.205547"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267816"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$VP8dNl/0kQ..OKhMxlob/.d7b3C5RFzUwwdZ44/sBjWQwDQ7Y9rYO"], ["updated_at", "2018-11-08 02:20:34.368355"], ["id", 293267816]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 162ms (ActiveRecord: 1.8ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$k6QmmXvtyzvUQvta6l1EzuY0nOiGgOjKMQe/QqjuvPu/GwPI0bmga"], ["created_at", "2018-11-08 02:20:34.579759"], ["updated_at", "2018-11-08 02:20:34.579759"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267817"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$f31L0m/9gsCoCJhI.qe9R.eNW3dygZ1ntXhS8nAhKmYCmKSpXoafW"], ["created_at", "2018-11-08 02:20:34.751537"], ["updated_at", "2018-11-08 02:20:34.751537"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267818"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 170ms (Views: 3.5ms | ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$RhIDKs1rdacxxlhFSJM2Q..8OObmFO5w8JZa4JqmVLJyYk./Z8ljG"], ["created_at", "2018-11-08 02:20:35.089112"], ["updated_at", "2018-11-08 02:20:35.089112"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267819"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 215ms (Views: 3.5ms | ActiveRecord: 0.9ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$/UEI4YnLFicFnofcYcSLVealJQAYnWvbfjVgZIHXOPsjJEPSody/K"], ["created_at", "2018-11-08 02:20:35.471274"], ["updated_at", "2018-11-08 02:20:35.471274"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 02:20:35 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267820"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$mIdOwMDj6JcCvJBLwT.7I.hfb8NSdmF51khBs9YiMJRwqNhearxDa"], ["created_at", "2018-11-08 02:20:50.551598"], ["updated_at", "2018-11-08 02:20:50.551598"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267821"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "gJCyCBNzko8XhHV5udo95A"], ["updated_at", "2018-11-08 02:20:50.567075"], ["id", 293267821]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 02:20:50.571264"], ["reset_sent_at", "2018-11-08 02:20:50.570625"], ["id", 293267821]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 254.7ms Sent mail to teste@unb.com.br (3812.3ms) Date: Thu, 08 Nov 2018 00:20:50 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be39d82ccba0_77819d10d47289b@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be39d82cae40_77819d10d4727d7";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be39d82cae40_77819d10d4727d7 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/gJCyCBNzko8XhHV5udo95A/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be39d82cae40_77819d10d4727d7 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/gJCyCBNzko8XhHV5udo95A/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be39d82cae40_77819d10d4727d7–

Redirected to test.host/login Completed 302 Found in 4086ms (ActiveRecord: 1.7ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$S4WlJhyhRxPvgowf57Mq9eOcHCPekOw0ZDe.85sh1RU/QT5NLh/pG"], ["created_at", "2018-11-08 02:20:54.839268"], ["updated_at", "2018-11-08 02:20:54.839268"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2hoSuSJk3z8D4k6UHlu5z.PGNyOawRrAVRban/q2pl9q3YOZRNre."], ["created_at", "2018-11-08 02:20:55.020063"], ["updated_at", "2018-11-08 02:20:55.020063"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267823"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$.b7Ey0u5MQ7YrytRwbWdcuqOhdICdHmWFVtgfgNPQRyG8kgXarzBa"], ["created_at", "2018-11-08 02:20:55.221663"], ["updated_at", "2018-11-08 02:20:55.221663"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267824"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.5ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$RD0oIjGkP27531VBM.h.2uhLbGb9hn.tR4p/mw19MWQOX6Rce0vCW"], ["created_at", "2018-11-08 02:20:55.397105"], ["updated_at", "2018-11-08 02:20:55.397105"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267825"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$i/fwWqk6nm6rRxXMGdNMsO1xkdEdU9krbcPDOR0f1J/6FPOHj18Cu"], ["created_at", "2018-11-08 02:20:55.569156"], ["updated_at", "2018-11-08 02:20:55.569156"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267826"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$31oSwJWHgdyNt2C4LUybPOKUjfIL0ZDZ8bGNFt7TKVvDiVhbWptTG"], ["created_at", "2018-11-08 02:20:55.739788"], ["updated_at", "2018-11-08 02:20:55.739788"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 02:20:55 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267827"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:41:03 -0200

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 47ms (ActiveRecord: 5.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:41:04 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.7ms)

Completed 200 OK in 290ms (Views: 288.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:41:17 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:41:17 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.0ms)

Completed 200 OK in 87ms (Views: 85.7ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:41:30 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:41:30 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.7ms)

Completed 200 OK in 52ms (Views: 50.2ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:41:59 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 59ms (ActiveRecord: 4.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:41:59 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.0ms)

Completed 200 OK in 89ms (Views: 87.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:42:01 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (19.5ms)
Rendered users/sessions/new.html.erb within layouts/application (33.3ms)

Completed 200 OK in 79ms (Views: 76.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:42:06 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (8.7ms)
Rendered users/sessions/new.html.erb within layouts/application (21.6ms)

Completed 200 OK in 73ms (Views: 71.5ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:42:16 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/ Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 37ms (ActiveRecord: 4.6ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:42:16 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.4ms)

Completed 200 OK in 68ms (Views: 67.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:42:17 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.7ms)
Rendered users/sessions/new.html.erb within layouts/application (10.2ms)

Completed 200 OK in 59ms (Views: 57.5ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/iQIveSAa6OOEq0KxmWu5-w/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:43:23 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"iQIveSAa6OOEq0KxmWu5-w"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/login Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 33ms (ActiveRecord: 3.8ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:43:23 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (9.0ms)

Completed 200 OK in 65ms (Views: 63.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:43:30 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Redirected to localhost:3000/login Filter chain halted as :check_expiration rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.3ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:43:30 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.6ms)
Rendered users/sessions/new.html.erb within layouts/application (23.5ms)

Completed 200 OK in 87ms (Views: 81.7ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 05:43:41 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.0ms)

Completed 200 OK in 56ms (Views: 53.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:43:44 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.3ms)
Rendered users/sessions/new.html.erb within layouts/application (13.4ms)

Completed 200 OK in 62ms (Views: 60.4ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 05:43:45 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.9ms)
Rendered password_resets/new.html.erb within layouts/application (10.1ms)

Completed 200 OK in 73ms (Views: 71.4ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 05:43:48 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9iQv+vxQTwzqrayNZnQvKuOirDgjb85H+g9neMWaWkmRLLdGtu84EpLgcTJJJTw31dej9nzOWwGClmj2S6BOcg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "MDqgScUCs7B3QuB45-IKvQ"], ["updated_at", "2018-11-08 07:43:48.037459"], ["id", 293267688]]
 (283.8ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:43:48.329360"], ["reset_sent_at", "2018-11-08 07:43:48.327588"], ["id", 293267688]]
 (248.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.2ms)

UserMailer#password_reset: processed outbound mail in 284.1ms Sent mail to andre_luisferreira@hotmail.com (8.4ms) Date: Thu, 08 Nov 2018 05:43:48 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3e934d72fe_43af18c18dc959f5@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3e934d5b1b_43af18c18dc9582d";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3e934d5b1b_43af18c18dc9582d Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/MDqgScUCs7B3QuB45-IKvQ/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3e934d5b1b_43af18c18dc9582d Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/MDqgScUCs7B3QuB45-IKvQ/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3e934d5b1b_43af18c18dc9582d–

Completed 500 Internal Server Error in 853ms (ActiveRecord: 534.5ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/user.rb:31:in `send_password_reset_email' app/controllers/password_resets_controller.rb:13:in `create' Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 05:44:04 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gU/YMX70+sM2B7yHXozhIisWWAGwJt5JgGwQfO8x8kd0KeFY1Q2VTCXsrariEGdv/dfrajYlHguJNC/WLyv/PA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "xgmBgd1ICx7hi4gXGSbw0w"], ["updated_at", "2018-11-08 07:44:04.570488"], ["id", 293267688]]
 (241.3ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:44:04.818172"], ["reset_sent_at", "2018-11-08 07:44:04.817132"], ["id", 293267688]]
 (184.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.2ms)

UserMailer#password_reset: processed outbound mail in 19.4ms Sent mail to andre_luisferreira@hotmail.com (5.4ms) Date: Thu, 08 Nov 2018 05:44:05 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3e9456f3b_43af18c1dc8961ad@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3e9455bd3_43af18c1dc896048";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3e9455bd3_43af18c1dc896048 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/xgmBgd1ICx7hi4gXGSbw0w/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3e9455bd3_43af18c1dc896048 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/xgmBgd1ICx7hi4gXGSbw0w/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3e9455bd3_43af18c1dc896048–

Completed 500 Internal Server Error in 465ms (ActiveRecord: 427.7ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/user.rb:31:in `send_password_reset_email' app/controllers/password_resets_controller.rb:13:in `create' Started GET “/” for 127.0.0.1 at 2018-11-08 05:44:20 -0200

 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (4.9ms)

Completed 200 OK in 282ms (Views: 273.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:44:23 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (24.6ms)
Rendered users/sessions/new.html.erb within layouts/application (39.5ms)

Completed 200 OK in 156ms (Views: 95.1ms | ActiveRecord: 4.1ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 05:44:25 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (3.2ms)
Rendered password_resets/new.html.erb within layouts/application (19.4ms)

Completed 200 OK in 129ms (Views: 126.2ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 05:44:27 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"diDf/dMu/n69nC5VderYJnqvUNoklqUF/ofPYaAy95wRKEdBmZGJYMXR8+pau8s7TNpfFHs3MEOGHsDvLgjjpw==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "1JD55k-Wah0x4ozKW9oOFg"], ["updated_at", "2018-11-08 07:44:27.213021"], ["id", 293267688]]
 (210.5ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:44:27.430271"], ["reset_sent_at", "2018-11-08 07:44:27.429239"], ["id", 293267688]]
 (171.6ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.3ms)

UserMailer#password_reset: processed outbound mail in 323.9ms Sent mail to andre_luisferreira@hotmail.com (7.9ms) Date: Thu, 08 Nov 2018 05:44:27 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3e95bea029_6130227a0544197c@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3e95be8a21_6130227a054418c2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3e95be8a21_6130227a054418c2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/1JD55k-Wah0x4ozKW9oOFg/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3e95be8a21_6130227a054418c2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/1JD55k-Wah0x4ozKW9oOFg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3e95be8a21_6130227a054418c2–

Completed 500 Internal Server Error in 765ms (ActiveRecord: 384.4ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/user.rb:31:in `send_password_reset_email' app/controllers/password_resets_controller.rb:13:in `create' Started GET “/” for 127.0.0.1 at 2018-11-08 05:44:58 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 50ms (Views: 48.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:45:01 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (8.0ms)

Completed 200 OK in 75ms (Views: 67.7ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:45:50 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.3ms)
Rendered password_resets/edit.html.erb within layouts/application (7.6ms)

Completed 200 OK in 100ms (Views: 68.7ms | ActiveRecord: 4.0ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:46:23 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.4ms)
Rendered password_resets/edit.html.erb within layouts/application (10.5ms)

Completed 200 OK in 89ms (Views: 61.2ms | ActiveRecord: 3.6ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:46:33 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.8ms)
Rendered password_resets/edit.html.erb within layouts/application (14.4ms)

Completed 200 OK in 63ms (Views: 58.0ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:47:02 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.3ms)
Rendered password_resets/edit.html.erb within layouts/application (10.0ms)

Completed 200 OK in 82ms (Views: 51.2ms | ActiveRecord: 4.6ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:19 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.0ms)
Rendered password_resets/edit.html.erb within layouts/application (8.8ms)

Completed 200 OK in 83ms (Views: 50.1ms | ActiveRecord: 4.3ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:22 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.5ms)
Rendered password_resets/edit.html.erb within layouts/application (14.7ms)

Completed 200 OK in 87ms (Views: 79.5ms | ActiveRecord: 1.8ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:30 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (10.7ms)

Completed 200 OK in 68ms (Views: 64.1ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:31 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.9ms)
Rendered password_resets/edit.html.erb within layouts/application (14.1ms)

Completed 200 OK in 77ms (Views: 67.0ms | ActiveRecord: 0.8ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:34 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (12.4ms)

Completed 200 OK in 75ms (Views: 66.3ms | ActiveRecord: 0.5ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:35 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (11.0ms)

Completed 200 OK in 60ms (Views: 56.0ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:36 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (9.5ms)

Completed 200 OK in 57ms (Views: 52.9ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:38 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.4ms)
Rendered password_resets/edit.html.erb within layouts/application (10.0ms)

Completed 200 OK in 64ms (Views: 60.7ms | ActiveRecord: 0.2ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:45 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.3ms)
Rendered password_resets/edit.html.erb within layouts/application (10.6ms)

Completed 200 OK in 53ms (Views: 49.6ms | ActiveRecord: 0.3ms)

Started GET “/password_resets/JxM4blqtT3VXhCQbYcocsw/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:45 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"JxM4blqtT3VXhCQbYcocsw"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (9.2ms)

Completed 200 OK in 67ms (Views: 61.9ms | ActiveRecord: 1.1ms)

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:48:59 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (12.3ms)
Rendered password_resets/edit.html.erb within layouts/application (53.8ms)

Completed 200 OK in 151ms (Views: 144.0ms | ActiveRecord: 0.3ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:49:20 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.3ms)
Rendered users/sessions/new.html.erb within layouts/application (11.9ms)

Completed 200 OK in 62ms (Views: 59.5ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 05:49:21 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (3.7ms)
Rendered password_resets/new.html.erb within layouts/application (17.8ms)

Completed 200 OK in 99ms (Views: 96.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 05:49:24 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Zl6ShewWbK6UjyOJT3ScpPDZxHO7spAZ4eopPivCXOKkeL2XQ8urMIf4TEKbMFvpbZo35FPXwYfHqcqdpUdSA==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "jSpTbWE7m__K-KF_0dIe-Q"], ["updated_at", "2018-11-08 07:49:24.408498"], ["id", 293267688]]
 (611.5ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:49:25.024512"], ["reset_sent_at", "2018-11-08 07:49:25.023255"], ["id", 293267688]]
 (142.6ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.6ms)

UserMailer#password_reset: processed outbound mail in 17.5ms Sent mail to andre_luisferreira@hotmail.com (3703.2ms) Date: Thu, 08 Nov 2018 05:49:25 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3ea853108e_6130227bbe842132@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3ea852fcc6_6130227bbe8420e3";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3ea852fcc6_6130227bbe8420e3 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/jSpTbWE7m__K-KF_0dIe-Q/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3ea852fcc6_6130227bbe8420e3 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/jSpTbWE7m__K-KF_0dIe-Q/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3ea852fcc6_6130227bbe8420e3–

Redirected to localhost:3000/login Completed 302 Found in 4500ms (ActiveRecord: 755.9ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 05:49:28 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.6ms)
Rendered users/sessions/new.html.erb within layouts/application (11.3ms)

Completed 200 OK in 77ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/jSpTbWE7m__K-KF_0dIe-Q/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:49:38 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"jSpTbWE7m__K-KF_0dIe-Q"}
User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.7ms)
Rendered password_resets/edit.html.erb within layouts/application (49.1ms)

Completed 200 OK in 178ms (Views: 154.3ms | ActiveRecord: 2.9ms)

Started GET “/password_resets/1pEbBAmlTGJRxb_LBYB4cQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 05:49:45 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"1pEbBAmlTGJRxb_LBYB4cQ"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.3ms)
Rendered password_resets/edit.html.erb within layouts/application (45.9ms)

Completed 200 OK in 147ms (Views: 142.4ms | ActiveRecord: 0.3ms)

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3gKVg2SyVGtjDNXWap/XdOaP1psgQ1GilqjwNSrXUWx2rAihbbwQi"], ["created_at", "2018-11-08 07:55:30.896982"], ["updated_at", "2018-11-08 07:55:30.896982"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 15.1ms

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$SE20x9JbESVHWer6iPoGq.pSqtyLvKu.8mQoM38fwKYRyqXZH5KOW"], ["created_at", "2018-11-08 07:55:31.085112"], ["updated_at", "2018-11-08 07:55:31.085112"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.5ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$NZyS1IO0si8.0Jzi1p35ZeV50okMdmOev1q4NJiED1sC5LdVyz1bK"], ["created_at", "2018-11-08 07:55:44.233972"], ["updated_at", "2018-11-08 07:55:44.233972"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267830"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "OH24IXFj9FJDBQFedhn2RQ"], ["updated_at", "2018-11-08 07:55:44.249236"], ["id", 293267830]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:55:44.252898"], ["reset_sent_at", "2018-11-08 07:55:44.252376"], ["id", 293267830]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 266.0ms Sent mail to teste@unb.com.br (3136.9ms) Date: Thu, 08 Nov 2018 05:55:44 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3ec00814c9_4a9a12a90d077d7@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3ec007fdc8_4a9a12a90d07655";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3ec007fdc8_4a9a12a90d07655 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/OH24IXFj9FJDBQFedhn2RQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3ec007fdc8_4a9a12a90d07655 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/OH24IXFj9FJDBQFedhn2RQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3ec007fdc8_4a9a12a90d07655–

Redirected to test.host/login Completed 302 Found in 3423ms (ActiveRecord: 2.9ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pCWD/J7miYLa8nknqs9t5uVjSipizXvV5TOGG/yNDhZZfWq9.8v62"], ["created_at", "2018-11-08 07:55:47.925834"], ["updated_at", "2018-11-08 07:55:47.925834"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$QoDsBQwrXewutX3Uekzq2O2FQU4zK2JmqfzxtOLclQIMhkt8qwuPu"], ["created_at", "2018-11-08 07:55:48.101356"], ["updated_at", "2018-11-08 07:55:48.101356"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267832"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.8ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$JJfkECHLhgQ.ud7CWRL4KeyneC7N.Vde3qQ69mnlErNmi2v54.Eza"], ["created_at", "2018-11-08 07:55:48.272764"], ["updated_at", "2018-11-08 07:55:48.272764"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267833"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$PkywgELxZuS8RedgR3txd.gQVbIKDZ/pHxSf4cy7VQSl.OyZLkuJe"], ["created_at", "2018-11-08 07:55:48.444192"], ["updated_at", "2018-11-08 07:55:48.444192"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267834"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$xGDYBxwRZo4WiZGu38d3OOb2jMssLM1Ls3POpCZsBCTfg4tJlwR5q"], ["created_at", "2018-11-08 07:55:48.613848"], ["updated_at", "2018-11-08 07:55:48.613848"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267835"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$6wLG1pQYUCUl4P7aPu.QZebE0FgpFW6MV7xFC3pPVqZU./oMJgu2e"], ["created_at", "2018-11-08 07:55:48.789054"], ["updated_at", "2018-11-08 07:55:48.789054"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 07:55:48 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267836"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$hXPhSE49GW1gOTfrLaKqBOvHtjLtXy4D6cv7iZl7qczb5l8EvsgaG"], ["created_at", "2018-11-08 07:56:42.820691"], ["updated_at", "2018-11-08 07:56:42.820691"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267837"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "Dsn84DhU_ftIwQOC67npyg"], ["updated_at", "2018-11-08 07:56:42.835966"], ["id", 293267837]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 07:56:42.839997"], ["reset_sent_at", "2018-11-08 07:56:42.839552"], ["id", 293267837]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.4ms)

UserMailer#password_reset: processed outbound mail in 248.6ms Sent mail to teste@unb.com.br (3070.2ms) Date: Thu, 08 Nov 2018 05:56:43 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3ec3b18457_5366dbd0d071fb@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3ec3b16b67_5366dbd0d070e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3ec3b16b67_5366dbd0d070e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/Dsn84DhU_ftIwQOC67npyg/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3ec3b16b67_5366dbd0d070e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/Dsn84DhU_ftIwQOC67npyg/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3ec3b16b67_5366dbd0d070e–

Redirected to test.host/login Completed 302 Found in 3338ms (ActiveRecord: 3.3ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$cBwE47MyyRaVyGYEZsgPGuDFuZM1BHitJ62IyILC.IoXzoudpCOTm"], ["created_at", "2018-11-08 07:56:46.404123"], ["updated_at", "2018-11-08 07:56:46.404123"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$1rBs3OdjGbpxuhu8/Dxa/e0Iwoon6yIdkO3bqwrE3Y4pbdFb4ER4a"], ["created_at", "2018-11-08 07:56:46.581404"], ["updated_at", "2018-11-08 07:56:46.581404"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267839"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$KsJHf3Jhx6M5sxemdhGGuuoulkxLu9R65yakMgLaeUEPsC8lRTGTe"], ["created_at", "2018-11-08 07:56:46.750395"], ["updated_at", "2018-11-08 07:56:46.750395"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267840"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$8k5PexnThTIrJ695zkmNF.hjR8MkVvD/e8oNGyUQmOJjzYDUY0vpy"], ["created_at", "2018-11-08 07:56:46.924186"], ["updated_at", "2018-11-08 07:56:46.924186"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267841"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$jlbNqLzJt5TEuxoU9icpy.KurUn5k86DQR19qyvkQXZ64H.jpm5jG"], ["created_at", "2018-11-08 07:56:47.092739"], ["updated_at", "2018-11-08 07:56:47.092739"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267842"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$vBoGkVp8/kzm2NtJNyk7OeohpGB8hLlgiVz1fYk4Z0cyxbR9WO8te"], ["created_at", "2018-11-08 07:56:47.261389"], ["updated_at", "2018-11-08 07:56:47.261389"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "reset_sent_at"=>"2018-11-08 07:56:47 UTC", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "reset_sent_at"=>"2018-11-08 07:56:47 UTC"}, "id"=>"293267843"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$2mwdlg.JATcWSzaqqrQbj.vYgpShKvGwTtEzV0YiRUpIFiCA8B.FK"], ["created_at", "2018-11-08 08:18:44.349339"], ["updated_at", "2018-11-08 08:18:44.349339"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.7ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$DqzonO8ioRfzy6Noiz6OlecwJi/N4A.2rsOFFBY.Hz5WofDM4sWM."], ["created_at", "2018-11-08 08:18:44.533031"], ["updated_at", "2018-11-08 08:18:44.533031"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.6ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$8gMurRmhGQ0210ZAiC7yaeAFIaPQgnoAQiqF1Z1zujRa1G54CDMim"], ["created_at", "2018-11-08 08:18:51.140092"], ["updated_at", "2018-11-08 08:18:51.140092"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267846"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "uX8WxgWSVrNU7e3a895leA"], ["updated_at", "2018-11-08 08:18:51.155156"], ["id", 293267846]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:18:51.159124"], ["reset_sent_at", "2018-11-08 08:18:51.158639"], ["id", 293267846]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 256.3ms Sent mail to teste@unb.com.br (3336.7ms) Date: Thu, 08 Nov 2018 06:18:51 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3f16b68883_167158f0d497515@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f16b66e93_167158f0d4974da";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f16b66e93_167158f0d4974da Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/uX8WxgWSVrNU7e3a895leA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f16b66e93_167158f0d4974da Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/uX8WxgWSVrNU7e3a895leA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f16b66e93_167158f0d4974da–

Redirected to test.host/login Completed 302 Found in 3614ms (ActiveRecord: 3.0ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$X2cPrzgSSYz09Ndsw2YK1ORMAJNrLOsZ00iB.aivMQZtXErLYTgpK"], ["created_at", "2018-11-08 08:18:55.024433"], ["updated_at", "2018-11-08 08:18:55.024433"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 14.7ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$6E2HStvQhd.lgLHS2M4u4.RKpkjn6V0qc3MT9GdBuKZiE0yV2rSfi"], ["created_at", "2018-11-08 08:18:55.217859"], ["updated_at", "2018-11-08 08:18:55.217859"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267848"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$UKpPDVNGSisaWyJClCDGGufENmQsus8meKsy6X1lVSBrDmjIMn/4G"], ["created_at", "2018-11-08 08:18:55.388381"], ["updated_at", "2018-11-08 08:18:55.388381"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267849"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$BMdGWHcQrusZTWAiJ.6BVeKiMte34MVHpWb1par5alszWJWE3W0Dm"], ["created_at", "2018-11-08 08:18:55.563864"], ["updated_at", "2018-11-08 08:18:55.563864"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267850"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (1.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Ga4Usltk9Ow8avPbFvZAwOXR3RT4K4gsJZj9nZy.iXxXR2Ps5kDHC"], ["created_at", "2018-11-08 08:18:55.996039"], ["updated_at", "2018-11-08 08:18:55.996039"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267851"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.9ms)

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$FGlazV4npf5Ce3i6Knib/eH0GBJXFatOqqcNnqINb61NLURGlZVUm"], ["created_at", "2018-11-08 08:18:56.239265"], ["updated_at", "2018-11-08 08:18:56.239265"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267852"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]

Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Var85IR1W3eNt2K3dp85Suv5tYM1AS0HCcl3JDO/1NKS2zDj31KeG"], ["created_at", "2018-11-08 08:19:13.581410"], ["updated_at", "2018-11-08 08:19:13.581410"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267853"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "NCy_O8FB7AncEPSPnXfEBA"], ["updated_at", "2018-11-08 08:19:13.596073"], ["id", 293267853]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:19:13.599743"], ["reset_sent_at", "2018-11-08 08:19:13.599229"], ["id", 293267853]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 253.5ms Sent mail to teste@unb.com.br (3064.8ms) Date: Thu, 08 Nov 2018 06:19:13 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3f181d3000_1997cb10d8577e0@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f181d166c_1997cb10d85766f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f181d166c_1997cb10d85766f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/NCy_O8FB7AncEPSPnXfEBA/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f181d166c_1997cb10d85766f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/NCy_O8FB7AncEPSPnXfEBA/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f181d166c_1997cb10d85766f–

Redirected to test.host/login Completed 302 Found in 3337ms (ActiveRecord: 2.2ms)

 (0.8ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$yHp6tcVnB1bOxHudW2ivDuHSLXyhcmsXDb18YXV7WIxhu.w1w.1gm"], ["created_at", "2018-11-08 08:19:17.190525"], ["updated_at", "2018-11-08 08:19:17.190525"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$D3Ss2oIQan.Ni0Gv28HRUeJzWxXZiQduN9HYKJy.16UY16DymWaQ6"], ["created_at", "2018-11-08 08:19:17.369319"], ["updated_at", "2018-11-08 08:19:17.369319"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267855"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$FoFk3xdI0BHYdn8cpPCZRubK.DbGL8QOn59yEPIr/dJGjaWODRsvu"], ["updated_at", "2018-11-08 08:19:17.532436"], ["id", 293267855]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 162ms (ActiveRecord: 1.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$oNLRKX5GcJBw5FIvAOh36OC3SujJPo.cq7xN1HVTijg5SiYf4et3y"], ["created_at", "2018-11-08 08:19:17.698038"], ["updated_at", "2018-11-08 08:19:17.698038"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267856"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$j8iT0j4P33NjYoKScHtv.uyKRvM42i/kzjKfGc0m9g0CF9OwKOinC"], ["created_at", "2018-11-08 08:19:17.869948"], ["updated_at", "2018-11-08 08:19:17.869948"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267857"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.4ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 171ms (Views: 3.6ms | ActiveRecord: 1.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$xHJLOULGuu38notio1LBT.MoumXpqu3CokbXcys2N4OvnDVKYYfQ."], ["created_at", "2018-11-08 08:19:18.206224"], ["updated_at", "2018-11-08 08:19:18.206224"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267858"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 167ms (Views: 4.3ms | ActiveRecord: 1.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$RT.WANCK34QKSFq24qcfW.vCHvFK/45hUzrk3RiUHMHkP1C.b3N22"], ["created_at", "2018-11-08 08:19:18.542176"], ["updated_at", "2018-11-08 08:19:18.542176"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267859"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$V5oOnwmRr/sIoRIAK0AtJuzZ4HCYfCq9J4hSVthY1bAA9DkutcljK"], ["created_at", "2018-11-08 08:45:51.497682"], ["updated_at", "2018-11-08 08:45:51.497682"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267860"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "8ou4-h4Rm_btAaP5AY3jgQ"], ["updated_at", "2018-11-08 08:45:51.512958"], ["id", 293267860]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:45:51.516473"], ["reset_sent_at", "2018-11-08 08:45:51.515995"], ["id", 293267860]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 257.1ms Sent mail to teste@unb.com.br (3243.9ms) Date: Thu, 08 Nov 2018 06:45:51 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3f7bfbe8fc_3dd29c10d052379@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f7bfbcfa2_3dd29c10d052259";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f7bfbcfa2_3dd29c10d052259 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/8ou4-h4Rm_btAaP5AY3jgQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f7bfbcfa2_3dd29c10d052259 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/8ou4-h4Rm_btAaP5AY3jgQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f7bfbcfa2_3dd29c10d052259–

Redirected to test.host/login Completed 302 Found in 3516ms (ActiveRecord: 2.2ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$62c.pEzFYriaFM6KaxhDKOJWkh/MwBcZFORGtF9gftgrDCnkKEfka"], ["created_at", "2018-11-08 08:45:55.283522"], ["updated_at", "2018-11-08 08:45:55.283522"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.3ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$NPgDxxBrtQMJfd7msvpYhue5vk77EEh2N1hPlw1qi/5BeXt4OVBH6"], ["created_at", "2018-11-08 08:45:55.460028"], ["updated_at", "2018-11-08 08:45:55.460028"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267862"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$.zZDwJ7n8z/F72cHbdEDJ.QnHE282NJactWkZsB7ip9TsZFFLYNQu"], ["updated_at", "2018-11-08 08:45:55.624801"], ["id", 293267862]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 164ms (ActiveRecord: 1.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$rCv6VefyPfMNCn2zWm3WIO8Rtu3mjZQXqu9c9Q6kWc2YU2JqSEy3e"], ["created_at", "2018-11-08 08:45:55.789598"], ["updated_at", "2018-11-08 08:45:55.789598"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267863"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$1/dbIqNRMcAHysqPPPTOzeTG53.23naJbB1Q6JvwsN9QSzF1PKlAC"], ["created_at", "2018-11-08 08:45:55.965339"], ["updated_at", "2018-11-08 08:45:55.965339"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267864"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 170ms (Views: 4.3ms | ActiveRecord: 0.9ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Q0hDkwaPduQo3oXbIjGBsOfU0TcFzNHyTbHWXFi/1mEKtdK2ntnTC"], ["created_at", "2018-11-08 08:45:56.303100"], ["updated_at", "2018-11-08 08:45:56.303100"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267865"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 164ms (Views: 3.6ms | ActiveRecord: 1.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$kLxcRgfcGe5QlTeO4FeSr.M8eM2.Pm1YjirujMWwdt6phX3c0dAl6"], ["created_at", "2018-11-08 08:45:56.636886"], ["updated_at", "2018-11-08 08:45:56.636886"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267866"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HLk9Mf2IpYZ9T65xNOSf6et7Muu8dYDcWRd6sylsmKSxP8tEwXcY2"], ["created_at", "2018-11-08 08:45:56.812535"], ["updated_at", "2018-11-08 08:45:56.812535"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cbKsCJI0m.PlzNAOtirNTeNgTibhGO2GocOY22F7zKTW9AYWUw8MG"], ["created_at", "2018-11-08 08:45:56.987093"], ["updated_at", "2018-11-08 08:45:56.987093"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 16.4ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$AZju8eJfHBMFX.410Z8PveDjzjOVL08ReFXmahEB618EnAOpnCcJa"], ["created_at", "2018-11-08 08:46:51.719845"], ["updated_at", "2018-11-08 08:46:51.719845"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267869"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "TGajft5W0DrkBdav9FdCuQ"], ["updated_at", "2018-11-08 08:46:51.735374"], ["id", 293267869]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:46:51.739659"], ["reset_sent_at", "2018-11-08 08:46:51.739030"], ["id", 293267869]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 253.1ms Sent mail to teste@unb.com.br (3192.3ms) Date: Thu, 08 Nov 2018 06:46:52 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5be3f7fc2f3_409b4dd0dc1344e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f7fbf29dd_409b4dd0dc1339c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f7fbf29dd_409b4dd0dc1339c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/TGajft5W0DrkBdav9FdCuQ/edit?email=3D= teste%40unb.com.br

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f7fbf29dd_409b4dd0dc1339c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/TGajft5W0DrkBdav9FdCuQ/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f7fbf29dd_409b4dd0dc1339c–

Redirected to test.host/login Completed 302 Found in 3462ms (ActiveRecord: 1.7ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$DxatILWly7qsV1vSNvmLXuTv21QT/6uMttLAaxs4khB7yfirBWFL2"], ["created_at", "2018-11-08 08:46:55.452768"], ["updated_at", "2018-11-08 08:46:55.452768"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$x3sYCt0r9RKW5mVOguo7H.ikfMs5BUmUW5flMYuIGAgOoeotEfie."], ["created_at", "2018-11-08 08:46:55.631521"], ["updated_at", "2018-11-08 08:46:55.631521"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267871"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$q868xdIjTqu0Thhd7NQ8Ye1doxGrxpppe2Ew4GaHXu81c..ypJKoK"], ["updated_at", "2018-11-08 08:46:55.794576"], ["id", 293267871]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 162ms (ActiveRecord: 1.2ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$LiYV3LdOh.X.VLfyCwXCD.UQ7S9tXWx3dsZ8BHhLh5oTiiarnTqQC"], ["created_at", "2018-11-08 08:46:56.016481"], ["updated_at", "2018-11-08 08:46:56.016481"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"293267872"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$q3jMivtXnwRg8Ke2..n6SudXuDD0V3fSO0b.tZOxGS8dqaxrfDNv6"], ["created_at", "2018-11-08 08:46:56.189186"], ["updated_at", "2018-11-08 08:46:56.189186"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267873"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 171ms (Views: 4.3ms | ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$AfPlNHsnk3sxOgv7sy5yn.2bSZtW4T8hRl05Nz2G2lpDfDbJOLSDS"], ["created_at", "2018-11-08 08:46:56.528987"], ["updated_at", "2018-11-08 08:46:56.528987"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267874"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 169ms (Views: 4.1ms | ActiveRecord: 1.1ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$WjtRyad473oalNluiDSjmuupxo6s.VKN6Xe//q/9m9zMnhaUOWHZa"], ["created_at", "2018-11-08 08:46:56.866100"], ["updated_at", "2018-11-08 08:46:56.866100"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"293267875"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$PLtG7TFE/AkyW24IUgPYteLIh9M78NwQwSsbIHZI9RfWeUnlFx0Va"], ["created_at", "2018-11-08 08:46:57.041253"], ["updated_at", "2018-11-08 08:46:57.041253"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$52FK3UXr2GiMpAw4dOM3wu4oRJmDPjxDDnbGjRALxUi4eIUbiQ44a"], ["created_at", "2018-11-08 08:46:57.217088"], ["updated_at", "2018-11-08 08:46:57.217088"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.2ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-08 06:47:28 -0200

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.5ms)

Completed 200 OK in 316ms (Views: 307.6ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 06:47:31 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (25.5ms)
Rendered users/sessions/new.html.erb within layouts/application (40.5ms)

Completed 200 OK in 154ms (Views: 96.2ms | ActiveRecord: 4.5ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 06:47:33 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.1ms)
Rendered password_resets/new.html.erb within layouts/application (20.9ms)

Completed 200 OK in 113ms (Views: 111.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 06:47:35 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"n2cF5urj50wBUUQ8tEQtinEiMGmadqBSofGJJpno8O/4b51aoFyQUnkcmYObFT6XR1c/p8XXNRTZaIaoF9Lk1A==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.4ms)
Rendered password_resets/new.html.erb within layouts/application (18.2ms)

Completed 200 OK in 110ms (Views: 100.8ms | ActiveRecord: 0.6ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 06:47:39 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CaiOS0x9irudFg1oj31FOC4LtVU3KnC8rvr2LXvy7Jz8zrci54TlNI79HEUz4cN1+MoGPrEpsP6nosmHu+jh5w==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "b-l1nNzkgMNVt2o_7RA_gw"], ["updated_at", "2018-11-08 08:47:39.721275"], ["id", 293267688]]
 (230.8ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:47:39.959262"], ["reset_sent_at", "2018-11-08 08:47:39.957919"], ["id", 293267688]]
 (526.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.1ms)

UserMailer#password_reset: processed outbound mail in 315.2ms Sent mail to andre_luisferreira@hotmail.com (8102.5ms) Date: Thu, 08 Nov 2018 06:47:40 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3f82cc8ff9_40d5245840c639b6@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f82cc72a4_40d5245840c638e8";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f82cc72a4_40d5245840c638e8 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/b-l1nNzkgMNVt2o_7RA_gw/edit?email=3D= andre_luisferreira%40hotmail.com

Este link ir=C3=A1 expirar em duas horas.

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f82cc72a4_40d5245840c638e8 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/b-l1nNzkgMNVt2o_7RA_gw/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p>Este link ir=C3=A1 expirar em duas horas.</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f82cc72a4_40d5245840c638e8–

Redirected to localhost:3000/login Completed 302 Found in 9212ms (ActiveRecord: 759.7ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 06:47:48 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.1ms)
Rendered users/sessions/new.html.erb within layouts/application (13.0ms)

Completed 200 OK in 68ms (Views: 66.8ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 06:49:50 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.3ms)

Completed 200 OK in 76ms (Views: 74.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 06:49:52 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (14.9ms)

Completed 200 OK in 80ms (Views: 72.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 06:49:53 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (3.3ms)
Rendered password_resets/new.html.erb within layouts/application (20.6ms)

Completed 200 OK in 73ms (Views: 71.7ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 06:49:55 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RuntewYj6z6bdvRMwJ1kiPwnwD6o1zkNAU9zMl0iIxEh4XXHTJycIOM7KfPvzHeVylLP8Pd2rEt51ny80xg3Kg==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.3ms)
Rendered password_resets/new.html.erb within layouts/application (13.1ms)

Completed 200 OK in 68ms (Views: 64.6ms | ActiveRecord: 0.7ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 06:49:58 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jagRuVOv7SpFTIW0+xVo6hAnbh7Cksf8fz6NzDDQTIJ4zijQ+FaCpVanlJlHie6nxubddUSRB752ZrJm8MpB+Q==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.6ms)  BEGIN
SQL (6.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "RVUzABXXkDgYGiu9X2fuRQ"], ["updated_at", "2018-11-08 08:49:58.237890"], ["id", 293267688]]
 (206.5ms)  COMMIT
 (0.1ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 08:49:58.456023"], ["reset_sent_at", "2018-11-08 08:49:58.455229"], ["id", 293267688]]
 (173.1ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 19.4ms Sent mail to andre_luisferreira@hotmail.com (3416.6ms) Date: Thu, 08 Nov 2018 06:49:58 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be3f8b69f962_40d524582f46416c@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be3f8b69e9b2_40d524582f46402f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be3f8b69e9b2_40d524582f46402f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/RVUzABXXkDgYGiu9X2fuRQ/edit?email=3D= andre_luisferreira%40hotmail.com

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be3f8b69e9b2_40d524582f46402f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/RVUzABXXkDgYGiu9X2fuRQ/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be3f8b69e9b2_40d524582f46402f–

Redirected to localhost:3000/login Completed 302 Found in 3840ms (ActiveRecord: 388.2ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 06:50:02 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.2ms)
Rendered users/sessions/new.html.erb within layouts/application (15.7ms)

Completed 200 OK in 80ms (Views: 77.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/RVUzABXXkDgYGiu9X2fuRQ/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 06:50:16 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.9ms)
Rendered password_resets/edit.html.erb within layouts/application (19.1ms)

Completed 200 OK in 111ms (Views: 105.2ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:19 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jBE6dLiIL8CONBcmI2Wpnoi+Jg9xMZWXrYE+8h+0GAd5dwMdE3FAT53fBguf+S/TXn+VZPcyVdWk2QFY364VfA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (4.2ms)
Rendered password_resets/edit.html.erb within layouts/application (13.4ms)

Completed 200 OK in 82ms (Views: 79.7ms | ActiveRecord: 0.4ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:21 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"d+WjY4aja7HI4uMct3gUfdPrZu/mWo/aez8BqYDqDBiCg5oKLVoEPtsJ8jEL5JIwBSrVhGBZT5hyZz4DQPABYw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (6.7ms)

Completed 200 OK in 231ms (Views: 50.8ms | ActiveRecord: 1.0ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:24 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"VqKZiLwWgTfLjRbvRbKATd9GdYRhJ9wxO7J3neODl+SjxKDhF+/uuNhmB8L5LgYACYfG7+ckHHMy6kg3I5manw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.8ms)
Rendered password_resets/edit.html.erb within layouts/application (7.7ms)

Completed 200 OK in 226ms (Views: 50.9ms | ActiveRecord: 0.8ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:28 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fXtVE50e6mUnnLy7tbA4cOtXmEhAt/BiMY5kXRijc9CIHWx6NueF6jR3rZYJLL49PZYrI8a0MCA41lv32Ll+qw==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.5ms)
Rendered password_resets/edit.html.erb within layouts/application (7.8ms)

Completed 200 OK in 247ms (Views: 47.3ms | ActiveRecord: 0.9ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:32 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vsscETP1ZWJK5fmdICMVADH3daUDSaYjSTL65FvQ8pZLrSV4mAwK7VkO6LCcv5NN5zbGzoVKZmFAasVOm8r/7Q==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.6ms)
Rendered password_resets/edit.html.erb within layouts/application (7.0ms)

Completed 200 OK in 224ms (Views: 53.2ms | ActiveRecord: 0.6ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:35 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"as172A+xFKvFh4x6bABjHIlqqMWe/D0Uc8jiZeTUVz2fq0KxpEh7JNZsnVfQnOVRX6sbrhj//VZ6kN3PJM5aRg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (2.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.5ms)
Rendered password_resets/edit.html.erb within layouts/application (7.0ms)

Completed 200 OK in 222ms (Views: 48.2ms | ActiveRecord: 3.0ms)

Started PATCH “/password_resets/RVUzABXXkDgYGiu9X2fuRQ” for 127.0.0.1 at 2018-11-08 06:50:46 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"AtIvXF4RrluwcIIbnHQhdaeUYwbFKfasTAXGqga5vbn3tBY19ejB1KObkzYg6Kc4cVXQbUMqNu5FXfkAxqOwwg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"RVUzABXXkDgYGiu9X2fuRQ"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$iaypq740bFsXNSuPJ9ypP.6zT61b2nuL7IE0tM8/G18BdQHEbx/Oa"], ["updated_at", "2018-11-08 08:50:46.476230"], ["id", 293267688]]
 (57.2ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 234ms (ActiveRecord: 58.2ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 06:50:46 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.1ms)
Rendered users/sessions/new.html.erb within layouts/application (15.8ms)

Completed 200 OK in 85ms (Views: 83.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 06:50:51 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cJySl7uskefBaftwSN/dgeL84KyFWnDfwMXuncMaEaSF+qv+EFX+aNKC6l30Q1vMND1TxwNZsJ3JndE3AwAc3w==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-08 08:50:51.381026"], ["last_sign_in_at", "2018-11-08 02:07:12.769136"], ["sign_in_count", 5], ["updated_at", "2018-11-08 08:50:51.382271"], ["id", 293267688]]
 (260.0ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 461ms (ActiveRecord: 261.5ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 06:50:51 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.1ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.7ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 06:50:54 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"6D1b/Ptm/UJ90r8ecvhpLi0mU3Nz/MtK6FUz2r/AiG+Ffnf3VXDGXQ1MUIEpGjNIvydQImWUMbSu47odZV+l0A=="}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 18ms (ActiveRecord: 1.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 06:50:54 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (3.2ms)

Completed 200 OK in 70ms (Views: 67.3ms | ActiveRecord: 0.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:27:45 -0200

 (17.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (14.5ms)

Completed 200 OK in 3692ms (Views: 3290.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:27:54 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (192.0ms)
Rendered users/sessions/new.html.erb within layouts/application (424.3ms)

Completed 200 OK in 622ms (Views: 516.9ms | ActiveRecord: 36.7ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 08:27:57 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (1.5ms)
Rendered password_resets/new.html.erb within layouts/application (7.8ms)

Completed 200 OK in 99ms (Views: 80.1ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 08:28:01 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NcqeyArcL8TElSuSwstrHvBbujjE2aAwDizfyab4XNG4tTW1xHG9hgoysH+UGZyFp9+IOHdg8YqWUbQIUuKn3w==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (356.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "TvCeLE9X-OQj3Uo6DmgNwA"], ["updated_at", "2018-11-08 10:28:02.297081"], ["id", 293267688]]
 (61.2ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 10:28:02.371248"], ["reset_sent_at", "2018-11-08 10:28:02.369067"], ["id", 293267688]]
 (58.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.5ms)

UserMailer#password_reset: processed outbound mail in 442.3ms Sent mail to andre_luisferreira@hotmail.com (10713.3ms) Date: Thu, 08 Nov 2018 08:28:02 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be40fb2e04e3_2d5f23a917855710@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be40fb2dec75_2d5f23a917855647";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be40fb2dec75_2d5f23a917855647 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/TvCeLE9X-OQj3Uo6DmgNwA/edit?email=3D= andre_luisferreira%40hotmail.com

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be40fb2dec75_2d5f23a917855647 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/TvCeLE9X-OQj3Uo6DmgNwA/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be40fb2dec75_2d5f23a917855647–

Redirected to localhost:3000/login Completed 302 Found in 11845ms (ActiveRecord: 479.4ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:28:13 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.0ms)
Rendered users/sessions/new.html.erb within layouts/application (14.1ms)

Completed 200 OK in 73ms (Views: 70.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-11-08 08:28:21 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.2ms)
Rendered password_resets/new.html.erb within layouts/application (15.1ms)

Completed 200 OK in 63ms (Views: 60.8ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 08:28:32 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"k0WwodxT9ZqlTJgbaWHs9es+5TrLEIOnrhl0wNpaWA8eOhvcEv5n2GvrA/Y/sxtuvLrXOnip0h02ZB8BLkCjAQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "asdsadas@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.7ms)
Rendered password_resets/new.html.erb within layouts/application (12.5ms)

Completed 200 OK in 80ms (Views: 72.0ms | ActiveRecord: 1.1ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-11-08 08:28:37 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9HQTq82I6b/B4Gjjhl6yGEjjoFxiK6SCeF0JZhGWG3fQZAiTK3RU1AcLPCRjt1ATKQySFkAtgCsoiTTKkxYa+g==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "nt7GyscX8Elk5jqBrvf9hg"], ["updated_at", "2018-11-08 10:28:37.148657"], ["id", 293267688]]
 (461.2ms)  COMMIT
 (0.3ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-08 10:28:37.615028"], ["reset_sent_at", "2018-11-08 10:28:37.613493"], ["id", 293267688]]
 (192.3ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.8ms)

UserMailer#password_reset: processed outbound mail in 33.2ms Sent mail to andre_luisferreira@hotmail.com (9911.8ms) Date: Thu, 08 Nov 2018 08:28:37 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5be40fd5cf696_2d5f23a92545599c@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5be40fd5cd6c7_2d5f23a92545581a";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5be40fd5cd6c7_2d5f23a92545581a Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/nt7GyscX8Elk5jqBrvf9hg/edit?email=3D= andre_luisferreira%40hotmail.com

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5be40fd5cd6c7_2d5f23a92545581a Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/nt7GyscX8Elk5jqBrvf9hg/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5be40fd5cd6c7_2d5f23a92545581a–

Redirected to localhost:3000/login Completed 302 Found in 10615ms (ActiveRecord: 655.7ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:28:47 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (11.5ms)

Completed 200 OK in 63ms (Views: 60.1ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/nt7GyscX8Elk5jqBrvf9hg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 08:29:23 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"nt7GyscX8Elk5jqBrvf9hg"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.9ms)
Rendered password_resets/edit.html.erb within layouts/application (206.0ms)

Completed 200 OK in 339ms (Views: 245.3ms | ActiveRecord: 0.4ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:30:42 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"WTruP8OENtP6wl6JqgtJ6YwQjd5YiqNIgthsnQtaWwh9KvUHJXiLuDwpCk5P4qvi7f+/lHqMh+HSDFExidpahQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.2ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-08 10:30:43.692781"], ["last_sign_in_at", "2018-11-08 08:50:51.381026"], ["sign_in_count", 6], ["updated_at", "2018-11-08 10:30:43.694068"], ["id", 293267688]]
 (72.9ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 832ms (ActiveRecord: 75.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:30:43 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (34.9ms)

Completed 200 OK in 96ms (Views: 93.7ms | ActiveRecord: 0.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-08 08:30:47 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (97.6ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 164ms (Views: 160.4ms | ActiveRecord: 0.5ms)

Started POST “/search-result” for 127.0.0.1 at 2018-11-08 08:30:56 -0200 Processing by RoomsController#search_result as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"IgkOctgCuAOBB5Y9lpf9Tci/VyISZj1iM00RV+tUYROLVtZ/LbUX9rc1eJcx30uu8VtAFN65hll+WOqgqG/7PQ==", "date_search"=>"2018-11-08", "time_search"=>"16:00", "commit"=>"Buscar"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Room Load (43.7ms)  SELECT "rooms".* FROM "rooms"
Room Load (36.1ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '2018-11-08' AND start_time = '16:00' AND status = 2)
Rendering rooms/search_result.html.erb within layouts/application
Rendered rooms/search_result.html.erb within layouts/application (10.8ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 307ms (Views: 70.5ms | ActiveRecord: 88.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 08:31:20 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (5.9ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 89ms (Views: 72.9ms | ActiveRecord: 0.9ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-08 08:31:22 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (1.2ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-05' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (40.0ms)
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (3.9ms)

Completed 200 OK in 139ms (Views: 110.1ms | ActiveRecord: 6.4ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-08 08:31:34 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"xOy1txrlcmbjRO+7VJ9qH9PDPTy/KbpoPDhn8si9ujyB2gM3D60ua+fIx0Q85sYIFddJkmr+DLKBwGZxBo0YQA==", "appointment_date"=>"2018-11-08", "start_time"=>"18:00", "commit"=>"Alugar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
 (0.3ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
SQL (8.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-11-08 00:00:00"], ["start_time", "18:00:00"], ["status", 1], ["user_id", 293267688], ["room_id", 1], ["created_at", "2018-11-08 10:31:34.785514"], ["updated_at", "2018-11-08 10:31:34.785514"]]
 (60.7ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 200 OK in 156ms (ActiveRecord: 74.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:31:34 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.6ms)
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 92ms (Views: 68.5ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 08:31:37 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (10.4ms)
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 71ms (Views: 63.9ms | ActiveRecord: 1.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 08:31:39 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"ishKtQMdZGxyCGpoAt/3F63UKOp1gIHIASGXWaI1QEAcIsA/WeeNUwJPq6DnxCDEnoj1emxlZgGD8yNl/UnGbA=="}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 47ms (ActiveRecord: 1.7ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:31:39 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-11-08 08:31:41 -0200 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (6.2ms)
Rendered users/registrations/new.html.erb within layouts/application (74.9ms)

Completed 200 OK in 214ms (Views: 212.8ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-11-08 08:32:02 -0200 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"eJr+sMR8y9vAW5zUhBcyBjFpypOSRBdZQVkD0s+SiaOIo79t/4F9S2AnrOpjQYTp2aesRjmzuHUieBE5+TAi/g==", "user"=>{"username"=>"andre", "registration"=>"12121322", "course"=>"eng comp", "email"=>"andre@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre@hotmail.com"], ["LIMIT", 1]]
SQL (285.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre@hotmail.com"], ["encrypted_password", "$2a$11$OhG6TafM0XrPV36ssbkMGuGgC5e2B9SMJf/41RayXm7jCsBHtVRda"], ["created_at", "2018-11-08 10:32:02.395809"], ["updated_at", "2018-11-08 10:32:02.395809"], ["username", "andre"], ["registration", "12121322"], ["course", "eng comp"]]
 (69.4ms)  COMMIT
 (0.5ms)  BEGIN
SQL (1.1ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-08 10:32:02.754859"], ["last_sign_in_at", "2018-11-08 10:32:02.754859"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-08 10:32:02.756667"], ["id", 293267878]]
 (57.6ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 643ms (ActiveRecord: 414.2ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:32:02 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.9ms)
Rendered layouts/_header-user.html.erb (4.0ms)

Completed 200 OK in 70ms (Views: 66.5ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 08:32:08 -0200 Processing by RoomsController#index as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.7ms)
Rendered layouts/_header-user.html.erb (2.3ms)

Completed 200 OK in 64ms (Views: 51.8ms | ActiveRecord: 1.7ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-08 08:32:10 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-05' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (22.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 92ms (Views: 81.4ms | ActiveRecord: 1.8ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-08 08:32:21 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0nK5SqVOkBPx2jv7dyPRPOD26vby7cM2ey7N6Q3T0K8UmL9Vz6popWCs/wuQ/DNN2pVKvXZgjOd98gt6YzxfSg==", "appointment_date"=>"2018-11-08", "start_time"=>"18:00", "commit"=>"Alugar"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"

Redirected to localhost:3000/backoffice Completed 200 OK in 6ms (ActiveRecord: 1.0ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:32:21 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (5.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (9.1ms)
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 58ms (Views: 51.4ms | ActiveRecord: 5.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 08:32:41 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.8ms)
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 72ms (Views: 65.1ms | ActiveRecord: 1.2ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-11-08 08:32:48 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.5ms)
Rendered layouts/_header-user.html.erb (2.4ms)

Completed 200 OK in 69ms (Views: 36.8ms | ActiveRecord: 1.2ms)

Started GET “/password_resets/nt7GyscX8Elk5jqBrvf9hg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 08:32:57 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"nt7GyscX8Elk5jqBrvf9hg"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (2.8ms)
Rendered password_resets/edit.html.erb within layouts/application (16.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 88ms (Views: 60.6ms | ActiveRecord: 1.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 08:33:03 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"B6tUimhCWE/lhCAfhaz/yT68xmmVe9clZweiGh+RXGZeum84IEiKUJuijjjVRz6NmMCWXV9xDfGpjeFeHJ6nXg=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267878], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 16ms (ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:33:03 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.0ms)

Completed 200 OK in 57ms (Views: 55.3ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/nt7GyscX8Elk5jqBrvf9hg/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-11-08 08:33:06 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"nt7GyscX8Elk5jqBrvf9hg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (1.7ms)
Rendered password_resets/edit.html.erb within layouts/application (10.2ms)

Completed 200 OK in 56ms (Views: 51.3ms | ActiveRecord: 0.5ms)

Started PATCH “/password_resets/nt7GyscX8Elk5jqBrvf9hg” for 127.0.0.1 at 2018-11-08 08:33:16 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"14zeBoLPCCcQDPd+O9V6JL23+tAYHg7A9wDI2RAgPBJK856XVQ3ilQ6nFd5OgevZUZxGodHI/ErSc/VvI+PCLg==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"nt7GyscX8Elk5jqBrvf9hg"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$/PGdzXMMQuy3xQSK71m7q.uEn1b2mRI/Cb2i6c94W6jZ/UFV65iDi"], ["updated_at", "2018-11-08 10:33:16.393880"], ["id", 293267688]]
 (69.2ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 293ms (ActiveRecord: 71.1ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:33:16 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.4ms)
Rendered users/sessions/new.html.erb within layouts/application (12.1ms)

Completed 200 OK in 69ms (Views: 67.1ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:33:24 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PrJ4kQX5xUQEungQGQkIYfCLZpeqeLgd8zQEvW75HDyjzTgA0jsv9hoRmrBsXZmcHKDa5mOuSpfWRzkLXTriAA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.6ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-08 10:33:24.623412"], ["last_sign_in_at", "2018-11-08 10:30:43.692781"], ["sign_in_count", 7], ["updated_at", "2018-11-08 10:33:24.624468"], ["id", 293267688]]
 (147.9ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 374ms (ActiveRecord: 149.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:33:24 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.1ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 83ms (Views: 80.3ms | ActiveRecord: 0.4ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-08 08:33:27 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (6.2ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 64ms (Views: 57.3ms | ActiveRecord: 0.9ms)

Started POST “/search-result” for 127.0.0.1 at 2018-11-08 08:34:25 -0200 Processing by RoomsController#search_result as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"I0I281/KhI3p6bnWI5QEve7J/3htS5bM4LaKSnSBdmm4jpce14lnNe0oguSwAtvj7Pno5ZESZMeJJcZjwXnvtw==", "date_search"=>"2018-11-08", "time_search"=>"18:00", "commit"=>"Buscar"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Room Load (0.9ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '2018-11-08' AND start_time = '18:00' AND status = 2)
Rendering rooms/search_result.html.erb within layouts/application
Rendered rooms/search_result.html.erb within layouts/application (8.8ms)
Rendered layouts/_header-user.html.erb (4.1ms)

Completed 200 OK in 93ms (Views: 76.2ms | ActiveRecord: 2.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-08 08:34:35 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267688]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.0ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 126ms (Views: 66.6ms | ActiveRecord: 1.2ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-08 08:34:45 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (8.1ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 72ms (Views: 66.3ms | ActiveRecord: 0.8ms)

Started POST “/search-result” for 127.0.0.1 at 2018-11-08 08:35:00 -0200 Processing by RoomsController#search_result as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7Na2htfH2SqMS0iZo693+ZVaLTzlRPIvJ1ptrihJRlx3GhdrX4Q6koiKc6swOainl2o6oRkdACROySGHnbHfgg==", "date_search"=>"2018-11-08", "time_search"=>"18:00", "commit"=>"Buscar"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Room Load (0.9ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '2018-11-08' AND start_time = '18:00' AND status = 2)
Rendering rooms/search_result.html.erb within layouts/application
Rendered rooms/search_result.html.erb within layouts/application (4.7ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 67ms (Views: 53.9ms | ActiveRecord: 2.2ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-08 08:39:17 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"DOo4XzUF2bnWb1JTJo3nv4Y3b2zsYymSg3N1D2F1uMk3VvK/01j4aYEZ8fN8ylUuRztWJGVEzGkyY7Vo8h6hZw=="}
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 17ms (ActiveRecord: 2.6ms)

Started GET “/” for 127.0.0.1 at 2018-11-08 08:39:17 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.6ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:39:19 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (8.0ms)
Rendered users/sessions/new.html.erb within layouts/application (21.0ms)

Completed 200 OK in 99ms (Views: 96.9ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:39:31 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HyK70iQBLk6PX8wkddGqrYKv/6gz38EAPaolewBIBwFJTZyID9vzTdOSmxroNNLJSTF26hMlX/0jeVjzhKY9Pg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]

Completed 401 Unauthorized in 7ms (ActiveRecord: 0.8ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HyK70iQBLk6PX8wkddGqrYKv/6gz38EAPaolewBIBwFJTZyID9vzTdOSmxroNNLJSTF26hMlX/0jeVjzhKY9Pg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.5ms)
Rendered users/sessions/new.html.erb within layouts/application (12.2ms)

Completed 200 OK in 262ms (Views: 59.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:40:26 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5SUPHgC+z/BgeQzBo9wLV/riL8N9d7yT3fiFDN7iUGe4xEFQmMTD1VvOmDkgTQxFMzRB5DVMK02oszUB6E0sNA==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (3.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]

Completed 401 Unauthorized in 10ms (ActiveRecord: 3.6ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5SUPHgC+z/BgeQzBo9wLV/riL8N9d7yT3fiFDN7iUGe4xEFQmMTD1VvOmDkgTQxFMzRB5DVMK02oszUB6E0sNA==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.1ms)
Rendered users/sessions/new.html.erb within layouts/application (13.4ms)

Completed 200 OK in 244ms (Views: 74.3ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:40:46 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DoyYSdeknJqOnC/aQjaI7zLyXjVk7K4t81rUky1urYRTbdYHT96Qv7UruyLBp4/9+yQwEizXOfOGEWSeG8HR1w==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (6.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]

Completed 401 Unauthorized in 19ms (ActiveRecord: 6.8ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DoyYSdeknJqOnC/aQjaI7zLyXjVk7K4t81rUky1urYRTbdYHT96Qv7UruyLBp4/9+yQwEizXOfOGEWSeG8HR1w==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.2ms)
Rendered users/sessions/new.html.erb within layouts/application (8.5ms)

Completed 200 OK in 261ms (Views: 48.0ms | ActiveRecord: 0.0ms)

 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "admin@admin.admin"], ["encrypted_password", "$2a$11$g8ezXMnNvR0L8z3htTimk.l3GjwKUhkwE0fngGgcAiDjbTEKMNWK2"], ["created_at", "2018-11-08 10:41:16.294380"], ["updated_at", "2018-11-08 10:41:16.294380"], ["username", "rootadmin"], ["registration", "admin000"], ["course", "ADMIN"], ["is_admin", "t"]]
 (224.0ms)  COMMIT
 (0.3ms)  BEGIN
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@teste.teste"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@teste.teste"], ["encrypted_password", "$2a$11$lyqK3E0beWz6YSdYwa2YUu6SgjgS3CJ6i0.pzQqEs.p5JhIctSLiG"], ["created_at", "2018-11-08 10:41:16.761454"], ["updated_at", "2018-11-08 10:41:16.761454"], ["username", "teste"], ["registration", "teste000"], ["course", "TESTE"]]
 (336.6ms)  COMMIT

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:41:31 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (27.7ms)
Rendered users/sessions/new.html.erb within layouts/application (242.9ms)

Completed 200 OK in 394ms (Views: 357.1ms | ActiveRecord: 3.5ms)

Started POST “/login” for 127.0.0.1 at 2018-11-08 08:41:37 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dcLjbQqYgxpCt83V3xdpenfdbAL0l6tYbsrgA6zLB10oI60jkuKPP3kAWS1chm5ovgsCJbysPIYbgVAOmmR7Dg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["current_sign_in_at", "2018-11-08 10:41:37.519668"], ["last_sign_in_at", "2018-11-08 10:41:37.519668"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["sign_in_count", 1], ["updated_at", "2018-11-08 10:41:37.521849"], ["id", 293267879]]
 (1284.0ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 1502ms (ActiveRecord: 1285.8ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:41:38 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (8.3ms)
Rendered layouts/_header-admin.html.erb (4.5ms)

Completed 200 OK in 95ms (Views: 91.1ms | ActiveRecord: 0.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-08 08:41:44 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.0ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (46.3ms)

Completed 500 Internal Server Error in 94ms (ActiveRecord: 5.5ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__4446050047058138370_70140914919320' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__4446050047058138370_70140914919320' Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:42:05 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (7.3ms)
Rendered layouts/_header-admin.html.erb (4.7ms)

Completed 200 OK in 81ms (Views: 78.0ms | ActiveRecord: 0.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-08 08:42:07 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (15.6ms)

Completed 500 Internal Server Error in 24ms (ActiveRecord: 1.2ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__4446050047058138370_70140943749160' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__4446050047058138370_70140943749160' Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:42:44 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (8.0ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 84ms (Views: 80.3ms | ActiveRecord: 0.5ms)

Started GET “/login” for 127.0.0.1 at 2018-11-08 08:42:44 -0200 Processing by Users::SessionsController#new as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]

Redirected to localhost:3000/backoffice Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-08 08:42:46 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (14.4ms)

Completed 500 Internal Server Error in 23ms (ActiveRecord: 1.2ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__4446050047058138370_70140921331400' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__4446050047058138370_70140921331400' Started GET “/backoffice” for 127.0.0.1 at 2018-11-08 08:43:04 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (8.9ms)
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-08 08:43:20 -0200 Processing by RoomsController#index as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.2ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (32.1ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 117ms (Views: 87.5ms | ActiveRecord: 7.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-08 08:43:30 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.8ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 92ms (Views: 69.0ms | ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 11:19:34 -0200

 (118.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

ActiveRecord::PendingMigrationError (

Migrations are pending. To resolve this issue, run:

bin/rails db:migrate RAILS_ENV=development

):

activerecord (5.1.6) lib/active_record/migration.rb:576:in `check_pending!' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread'

 (0.3ms)  SELECT pg_try_advisory_lock(6530939546169874185)
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Migrating to AddTipoSalaToRoom (20181104170539)

 (0.2ms)  BEGIN
 (121.9ms)  ALTER TABLE "rooms" ADD "tipo_sala" character varying
SQL (0.6ms)  INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"  [["version", "20181104170539"]]
 (57.2ms)  COMMIT
ActiveRecord::InternalMetadata Load (45.9ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.4ms)  COMMIT
 (0.7ms)  SELECT pg_advisory_unlock(6530939546169874185)
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Started GET “/” for 127.0.0.1 at 2018-11-15 11:20:24 -0200

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (6.7ms)

Completed 200 OK in 9061ms (Views: 9032.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 11:20:36 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (181.7ms)
Rendered users/sessions/new.html.erb within layouts/application (300.6ms)

Completed 200 OK in 435ms (Views: 404.1ms | ActiveRecord: 5.4ms)

Started POST “/login” for 127.0.0.1 at 2018-11-15 11:20:42 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"EhjErolIt5ekugz+r4yDYkcNBy0YDl6xKMwE23BVeyAvvS96kmAm+4nhTIs3zJ6TRqTIKVR49nJ/1vMrNvqqkg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (347.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.2ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-11-15 13:20:43.245428"], ["sign_in_count", 2], ["updated_at", "2018-11-15 13:20:43.246929"], ["id", 293267879]]
 (71.0ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 841ms (ActiveRecord: 419.6ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 11:20:43 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.2ms)
Rendered layouts/_header-admin.html.erb (513.5ms)

Completed 200 OK in 605ms (Views: 590.8ms | ActiveRecord: 0.4ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 11:20:50 -0200 Processing by Users::SessionsController#new as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]

Redirected to localhost:3000/backoffice Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.9ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 11:20:53 -0200 Processing by Users::SessionsController#new as HTML

User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]

Redirected to localhost:3000/backoffice Filter chain halted as :require_no_authentication rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 11:20:53 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.3ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.5ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-15 11:20:54 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"lV5IUUwr9kwXtwRnlp+ePNqMNzCe4NiJxSgc1MnigCte5Vj9M1lDWWeVeFUpy3kwLhj5tErh3Ruy8HsDwXRitQ=="}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
 (0.5ms)  BEGIN
 (1.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 341ms (ActiveRecord: 2.7ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 11:20:54 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.2ms)

Completed 200 OK in 76ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 11:20:56 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.2ms)
Rendered users/sessions/new.html.erb within layouts/application (16.1ms)

Completed 200 OK in 79ms (Views: 77.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-15 11:21:02 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LjCbIY4O8WyoKxF/iCgIEcO8W9TQw9dr5LMr9iLn90yxfFK58LvGGBrdtnNRaIfsalfiDu6DkFKXV0cTgluy1A==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-15 13:21:02.307663"], ["last_sign_in_at", "2018-11-15 13:20:43.245428"], ["sign_in_count", 3], ["updated_at", "2018-11-15 13:21:02.308757"], ["id", 293267879]]
 (1219.6ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 1460ms (ActiveRecord: 1221.0ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 11:21:03 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.6ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 66ms (Views: 63.4ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 11:21:11 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (18.1ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (59.3ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 247ms (Views: 127.9ms | ActiveRecord: 23.8ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-15 11:21:12 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (50.7ms)
Rendered layouts/_header-admin.html.erb (5.0ms)

Completed 200 OK in 120ms (Views: 114.8ms | ActiveRecord: 0.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 11:21:13 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (25.9ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (47.0ms)
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 127ms (Views: 74.9ms | ActiveRecord: 29.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 11:21:15 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (18.2ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (79.9ms)

Completed 500 Internal Server Error in 101ms (ActiveRecord: 21.8ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb___354762282152537622_70242132125740' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb___354762282152537622_70242132125740' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 12:25:09 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (38.4ms)

Completed 500 Internal Server Error in 55ms (ActiveRecord: 7.4ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__564296918765110361_35170960' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__564296918765110361_35170960' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 12:25:10 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.3ms)

Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.8ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__564296918765110361_70220366528420' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__564296918765110361_70220366528420' Started GET “/rooms” for 127.0.0.1 at 2018-11-15 12:25:12 -0200 Processing by RoomsController#index as HTML

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (198.2ms)
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 295ms (Views: 255.1ms | ActiveRecord: 4.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 12:25:14 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.5ms)

Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.9ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__564296918765110361_70220367523420' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__564296918765110361_70220367523420' Started GET “/rooms” for 127.0.0.1 at 2018-11-15 12:38:37 -0200

 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by RoomsController#index as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (226.9ms)
Rendered layouts/_header-admin.html.erb (5.7ms)

Completed 200 OK in 383ms (Views: 335.3ms | ActiveRecord: 9.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-15 12:38:38 -0200 Processing by RoomsController#search_rooms as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (8.2ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 93ms (Views: 86.6ms | ActiveRecord: 1.0ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 12:38:56 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (8.9ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (27.7ms)
Rendered layouts/_header-admin.html.erb (5.4ms)

Completed 200 OK in 118ms (Views: 102.0ms | ActiveRecord: 9.6ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 12:49:18 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (11.7ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 102ms (Views: 69.1ms | ActiveRecord: 2.9ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 12:49:19 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (7.2ms)
Rendered layouts/_header-admin.html.erb (5.5ms)

Completed 200 OK in 97ms (Views: 93.3ms | ActiveRecord: 0.7ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 12:50:06 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.3ms)
Rendered layouts/_header-user.html.erb (5.0ms)

Completed 200 OK in 79ms (Views: 76.8ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 12:50:12 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (31.0ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 117ms (Views: 109.5ms | ActiveRecord: 1.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 12:50:23 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.5ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 59ms (Views: 56.7ms | ActiveRecord: 0.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 12:51:55 -0200 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.8ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (18.4ms)
Rendered layouts/_header-admin.html.erb (5.2ms)

Completed 200 OK in 108ms (Views: 96.2ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-15 12:53:18 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (30.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 85ms (Views: 77.8ms | ActiveRecord: 1.6ms)

Started GET “/rooms/2” for 127.0.0.1 at 2018-11-15 12:53:21 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"2"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.6ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 62ms (Views: 56.0ms | ActiveRecord: 0.9ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-11-15 12:53:23 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 56ms (Views: 49.5ms | ActiveRecord: 0.9ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-15 16:37:33 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (12.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.2ms)

Completed 200 OK in 90ms (Views: 84.7ms | ActiveRecord: 1.3ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-15 16:42:18 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (7.8ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 63ms (Views: 57.8ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:42:19 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.9ms)
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 57ms (Views: 51.2ms | ActiveRecord: 1.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 16:42:20 -0200 Processing by RoomsController#index as HTML

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (29.1ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 121ms (Views: 114.1ms | ActiveRecord: 2.0ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-15 16:42:21 -0200 Processing by RoomsController#new as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (30.3ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 82ms (Views: 76.9ms | ActiveRecord: 0.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 16:42:22 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (49.8ms)

Completed 500 Internal Server Error in 56ms (ActiveRecord: 2.9ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__3667900413908365094_70035792762600' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__3667900413908365094_70035792762600' Started GET “/rooms/new” for 127.0.0.1 at 2018-11-15 16:42:24 -0200 Processing by RoomsController#new as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (6.7ms)
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 56ms (Views: 52.6ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:42:27 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.4ms)
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 92ms (Views: 83.7ms | ActiveRecord: 1.2ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 16:42:29 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (6.8ms)
Rendered layouts/_header-user.html.erb (5.3ms)

Completed 200 OK in 95ms (Views: 91.7ms | ActiveRecord: 0.9ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:42:33 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.3ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 102ms (Views: 93.3ms | ActiveRecord: 1.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-15 16:42:34 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.1ms)
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 58ms (Views: 53.4ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 16:42:35 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (11.4ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 68ms (Views: 63.0ms | ActiveRecord: 1.1ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-15 16:42:36 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (5.9ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (11.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 79ms (Views: 66.7ms | ActiveRecord: 6.9ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-15 16:42:42 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"UTnOgZm4EwD1+BEnEeOtB7WnGWdQLMtAXm9unVNLfrO+3VRLvstOAMkdk93H+dJIHdyM1mIfD2PkEY629FFLYw==", "appointment_date"=>"2018-11-15", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
 (0.1ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
SQL (14.0ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-11-15 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 293267879], ["room_id", 1], ["created_at", "2018-11-15 18:42:42.354868"], ["updated_at", "2018-11-15 18:42:42.354868"]]
 (66.6ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 200 OK in 95ms (ActiveRecord: 82.2ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:42:42 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.7ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 65ms (Views: 63.1ms | ActiveRecord: 0.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 16:42:45 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.9ms)

Completed 500 Internal Server Error in 18ms (ActiveRecord: 1.1ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__3667900413908365094_70035720417500' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__3667900413908365094_70035720417500' Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:45:22 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (34.4ms)
Rendered layouts/_header-admin.html.erb (6.3ms)

Completed 200 OK in 741ms (Views: 728.3ms | ActiveRecord: 5.1ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:45:24 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.6ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 108ms (Views: 105.3ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:45:25 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (29.9ms)
Rendered layouts/_header-admin.html.erb (5.7ms)

Completed 200 OK in 138ms (Views: 104.6ms | ActiveRecord: 5.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 16:45:30 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (24.0ms)

Completed 500 Internal Server Error in 44ms (ActiveRecord: 1.1ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb___3001591223943371955_70077533136540' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb___3001591223943371955_70077533136540' Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:46:07 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:46:11 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:46:12 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-11-15 16:46:26 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-11-15 16:49:05 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-11-15 16:49:14 -0200

PG::ConnectionBad (could not translate host name “db” to address: Name or service not known ):

pg (1.0.0) lib/pg.rb:56:in `initialize' pg (1.0.0) lib/pg.rb:56:in `new' pg (1.0.0) lib/pg.rb:56:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:697:in `connect' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:221:in `initialize' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `new' activerecord (5.1.6) lib/active_record/connection_adapters/postgresql_adapter.rb:38:in `postgresql_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:759:in `new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:803:in `checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:782:in `try_to_checkout_new_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:743:in `acquire_connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:500:in `checkout' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:374:in `connection' activerecord (5.1.6) lib/active_record/connection_adapters/abstract/connection_pool.rb:931:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:116:in `retrieve_connection' activerecord (5.1.6) lib/active_record/connection_handling.rb:88:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:562:in `connection' activerecord (5.1.6) lib/active_record/migration.rb:553:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/” for 127.0.0.1 at 2018-11-15 16:50:20 -0200

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (35.0ms)
Rendered layouts/_header-user.html.erb (5.1ms)

Completed 200 OK in 340ms (Views: 324.9ms | ActiveRecord: 5.2ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:50:26 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (48.8ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 171ms (Views: 115.7ms | ActiveRecord: 5.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 16:50:28 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (23.3ms)

Completed 500 Internal Server Error in 32ms (ActiveRecord: 1.2ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb___2554185986251676631_69865360630860' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb___2554185986251676631_69865360630860' Started GET “/my-appointments” for 127.0.0.1 at 2018-11-15 16:50:30 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267879]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.3ms)
Rendered layouts/_header-admin.html.erb (4.8ms)

Completed 200 OK in 99ms (Views: 88.0ms | ActiveRecord: 1.2ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-15 16:50:31 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"5eKQ2K0RPaCDfZgwUrLRS+1FRyVxega8s6XbCR8rrprSxoSRXpioDNtytLYW7fvkXWPT0IzuqDg+CPC0J7d9ZA=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.4ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 31ms (ActiveRecord: 1.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 16:50:31 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (8.4ms)

Completed 200 OK in 75ms (Views: 72.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 16:50:33 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (31.4ms)
Rendered users/sessions/new.html.erb within layouts/application (61.2ms)

Completed 200 OK in 121ms (Views: 115.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-15 16:50:38 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"b/i4388eVEImETPskfpvdSaVnvTtLcx4TQJDnC2Wwtv72pcnpZ6ccC6vAibZm9gPqHtYb7rqqrNytDbrT9quwQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 218ms (ActiveRecord: 1.2ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"b/i4388eVEImETPskfpvdSaVnvTtLcx4TQJDnC2Wwtv72pcnpZ6ccC6vAibZm9gPqHtYb7rqqrNytDbrT9quwQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (8.5ms)

Completed 200 OK in 224ms (Views: 58.5ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-11-15 16:50:42 -0200 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (4.1ms)
Rendered users/registrations/new.html.erb within layouts/application (17.4ms)

Completed 200 OK in 86ms (Views: 84.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-15 16:50:49 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Dae8e+EVPN6R5jrgiffYmq8lH8Ji4fvJt3C3/jEfyaUra/9LEdgCh3HWaV5IoohnSaiHtpAtXiY7sqCATGreXQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-15 18:50:50.108101"], ["last_sign_in_at", "2018-11-08 10:33:24.623412"], ["sign_in_count", 8], ["updated_at", "2018-11-15 18:50:50.109301"], ["id", 293267688]]
 (155.4ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 372ms (ActiveRecord: 157.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 16:50:50 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (6.7ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 81ms (Views: 78.0ms | ActiveRecord: 0.7ms)

Started GET “/users/293267688/edit” for 127.0.0.1 at 2018-11-15 16:50:51 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"293267688"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (7.8ms)
Rendered layouts/_header-user.html.erb (3.7ms)

Completed 200 OK in 62ms (Views: 57.4ms | ActiveRecord: 0.6ms)

Started GET “/my-appointments.293267688” for 127.0.0.1 at 2018-11-15 16:50:52 -0200 Processing by AppointmentsController#my_appointments as

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 293267688]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.1ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 93ms (Views: 75.7ms | ActiveRecord: 1.4ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-15 16:50:59 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (9.5ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 75ms (Views: 68.4ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-15 16:51:00 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (17.1ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 80ms (Views: 56.2ms | ActiveRecord: 4.9ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-15 16:51:01 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"1TsI1mmWROWLxQW5UKnJIN35nYox7ssI0ueFvegpogb9qxIFSdosHaUa03b/osx16WisHMXsFRAlGcgxL+o/5w=="}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267688], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 15ms (ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2018-11-15 16:51:01 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.1ms)

Completed 200 OK in 55ms (Views: 52.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-15 16:51:06 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (18.6ms)
Rendered users/sessions/new.html.erb within layouts/application (33.1ms)

Completed 200 OK in 108ms (Views: 105.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-15 16:51:11 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"y1Rtv0OpBYL+5WjW+RXw82Ebp2vj/6CWybpIZMhw22qyaKyGmIx9LA6H4hYtWU8iFZ8hks5n9+TqLcUaILCziQ==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-15 18:51:12.025692"], ["last_sign_in_at", "2018-11-15 13:21:02.307663"], ["sign_in_count", 4], ["updated_at", "2018-11-15 18:51:12.026603"], ["id", 293267879]]
 (202.1ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 402ms (ActiveRecord: 203.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-15 16:51:12 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.4ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 47ms (Views: 44.9ms | ActiveRecord: 0.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-15 17:07:24 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.3ms)

Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.3ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb___2554185986251676631_69865467979140' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb___2554185986251676631_69865467979140' Started GET “/” for 127.0.0.1 at 2018-11-17 11:53:05 -0200

 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (13.1ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 11:53:09 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.4ms)

Completed 200 OK in 2644ms (Views: 2607.8ms | ActiveRecord: 0.0ms)

Completed 200 OK in 1018ms (Views: 1014.8ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 11:53:15 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (176.2ms)
Rendered users/sessions/new.html.erb within layouts/application (905.2ms)

Completed 200 OK in 1278ms (Views: 1167.3ms | ActiveRecord: 54.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 11:53:32 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HwG3tvMCaTKrRNg7uZcinf5QQnBWiGAQ8sbPOc8KLmPeZx/CvOvsS1LKrsevgOGyBbCfdr6xHdYrnzx2y3I7CQ==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (278.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 13:53:33.152065"], ["last_sign_in_at", "2018-11-15 18:51:12.025692"], ["sign_in_count", 5], ["updated_at", "2018-11-17 13:53:33.153399"], ["id", 293267879]]
 (61.3ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 761ms (ActiveRecord: 340.6ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 11:53:33 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.4ms)
Rendered layouts/_header-admin.html.erb (41.4ms)

Completed 200 OK in 192ms (Views: 154.9ms | ActiveRecord: 0.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 11:53:35 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (29.0ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (94.7ms)

Completed 500 Internal Server Error in 170ms (ActiveRecord: 35.2ms)

ActionView::Template::Error (undefined method `username' for nil:NilClass):

14:   <% @appointments.each do |appointment| %>
15:     <tr>
16:       <th scope="row">1</th>
17:       <td class="appointment-data"> <%= appointment.user.username %> </td>
18:       <td class="appointment-data"> <%= appointment.room.name %> </td>
19:       <td class="appointment-data"> <%= appointment.appointment_date %> </td>
20:       <td class="appointment-data"> <%= appointment.start_time %> </td>

app/views/appointments/all_appointments.html.erb:17:in `block in _app_views_appointments_all_appointments_html_erb__335410757052439351_70202319759320' app/views/appointments/all_appointments.html.erb:14:in `_app_views_appointments_all_appointments_html_erb__335410757052439351_70202319759320' Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:53:58 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:06 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:07 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:15 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:21 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:21 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:54:26 -0200

Room Load (30.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]

Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:05 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:12 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:17 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:19 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:20 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:27 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:28 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:34 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:38 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:43 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:44 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:46 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:46 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:53 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:55 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:55 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:56 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:56 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:57 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:55:57 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:10 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:11 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:12 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:13 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:15 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:16 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:25 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:25 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:25 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:38 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:39 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:39 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:41 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:41 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:47 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:47 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:49 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:50 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:51 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:57 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:56:58 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:57:52 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 11:57:52 -0200

User Load (1.1ms)  SELECT  "users".* FROM "users" LIMIT $1  [["LIMIT", 11]]
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (30.9ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.7ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.7ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (5011.5ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_development"
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1  [["key", "environment"]]
 (752.3ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_development"
 (876.3ms)  DROP DATABASE IF EXISTS "Reserva-de-Salas_test"
 (3559.0ms)  CREATE DATABASE "Reserva-de-Salas_development" ENCODING = 'unicode'
 (2691.8ms)  CREATE DATABASE "Reserva-de-Salas_test" ENCODING = 'unicode'
SQL (0.6ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.5ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (356.1ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (204.3ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (251.8ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.6ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (487.2ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "tipo_sala" character varying)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (502.6ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (372.2ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (408.6ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (475.3ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (1.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (50.5ms)  INSERT INTO "schema_migrations" (version) VALUES (20181104170539)
 (54.9ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625), (20181028154228);



 (475.5ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (1.0ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (1.1ms)  BEGIN
SQL (1.3ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-17 13:59:58.551392"], ["updated_at", "2018-11-17 13:59:58.551392"]]
 (55.7ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.7ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.4ms)  COMMIT
SQL (0.7ms)  CREATE EXTENSION IF NOT EXISTS "plpgsql"
 (0.4ms)  DROP TABLE IF EXISTS "appointments" CASCADE
 (338.0ms)  CREATE TABLE "appointments" ("id" bigserial primary key, "appointment_date" timestamp, "start_time" time, "status" integer, "user_id" bigint, "room_id" bigint, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
 (238.1ms)  CREATE  INDEX  "index_appointments_on_room_id" ON "appointments"  ("room_id")
 (238.1ms)  CREATE  INDEX  "index_appointments_on_user_id" ON "appointments"  ("user_id")
 (0.6ms)  DROP TABLE IF EXISTS "rooms" CASCADE
 (465.1ms)  CREATE TABLE "rooms" ("id" bigserial primary key, "name" character varying, "location" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "tipo_sala" character varying)
 (0.6ms)  DROP TABLE IF EXISTS "users" CASCADE
 (480.7ms)  CREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "username" character varying, "registration" character varying, "course" character varying, "is_admin" boolean DEFAULT 'f', "reset_digest" character varying, "reset_sent_at" timestamp)
 (249.4ms)  CREATE UNIQUE INDEX  "index_users_on_email" ON "users"  ("email")
 (305.7ms)  CREATE UNIQUE INDEX  "index_users_on_reset_password_token" ON "users"  ("reset_password_token")
 (497.3ms)  CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
 (1.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (50.9ms)  INSERT INTO "schema_migrations" (version) VALUES (20181104170539)
 (55.1ms)  INSERT INTO "schema_migrations" (version) VALUES

(20180606194001), (20180604205706), (20180521230417), (20180521225625), (20181028154228);



 (486.2ms)  CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
ActiveRecord::InternalMetadata Load (1.1ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.1ms)  INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"  [["key", "environment"], ["value", "development"], ["created_at", "2018-11-17 14:00:02.121903"], ["updated_at", "2018-11-17 14:00:02.121903"]]
 (55.4ms)  COMMIT
ActiveRecord::InternalMetadata Load (0.7ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.1ms)  UPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3  [["value", "test"], ["updated_at", "2018-11-17 14:00:02.187435"], ["key", "environment"]]
 (55.0ms)  COMMIT
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "admin@admin.admin"], ["encrypted_password", "$2a$11$bT78QnwuIeKEwj0NDKH7LOJ.Wc1G6yueqy9DiC2e29s.K2y68ZlRW"], ["created_at", "2018-11-17 14:00:02.588787"], ["updated_at", "2018-11-17 14:00:02.588787"], ["username", "rootadmin"], ["registration", "admin000"], ["course", "ADMIN"], ["is_admin", "t"]]
 (67.0ms)  COMMIT
 (0.3ms)  BEGIN
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@teste.teste"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@teste.teste"], ["encrypted_password", "$2a$11$JJsMpO3fJwYUnSw8hLf75.mqF1MWfc26rbxnW9oAf/ofsIEOTfkey"], ["created_at", "2018-11-17 14:00:02.916638"], ["updated_at", "2018-11-17 14:00:02.916638"], ["username", "teste"], ["registration", "teste000"], ["course", "TESTE"]]
 (107.3ms)  COMMIT
 (0.5ms)  SELECT pg_try_advisory_lock(6530939546169874185)
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
ActiveRecord::InternalMetadata Load (0.8ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  COMMIT
 (0.5ms)  SELECT pg_advisory_unlock(6530939546169874185)
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.5ms)  SELECT pg_try_advisory_lock(6530939546169874185)
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
ActiveRecord::InternalMetadata Load (0.7ms)  SELECT  "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2  [["key", "environment"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT
 (0.5ms)  SELECT pg_advisory_unlock(6530939546169874185)
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK

Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 12:01:29 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 12:01:29 -0200 Started PUT “/__web_console/repl_sessions/e1336db7f4fbe00aa5c2529dd9799551” for 127.0.0.1 at 2018-11-17 12:01:30 -0200 Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:01:44 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (14.5ms)
Rendered layouts/_header-admin.html.erb (9.0ms)

Completed 500 Internal Server Error in 296ms (ActiveRecord: 4.4ms)

ActionView::Template::Error (undefined method `is_admin' for nil:NilClass Did you mean? is_a?):

31:             <span class="nav-link-text">Criar Salas</span>
32:           <% end %>
33:         </li>
34:         <% if current_user.is_admin %>
35:         <li class="nav-item" data-toggle="tooltip" data-placement="right" title="Charts">
36:           <%= link_to all_appointments_path, class: 'nav-link' do %>
37:             <i class="fa fa-fw fa-eye"></i>

app/views/layouts/_header-admin.html.erb:34:in `_app_views_layouts__header_admin_html_erb__4370945200859950980_32119100' app/views/layouts/backoffice.html.erb:12:in `_app_views_layouts_backoffice_html_erb__2859044433459943490_20680540' Started GET “/login” for 127.0.0.1 at 2018-11-17 12:01:45 -0200 Processing by Users::SessionsController#new as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 293267879], ["LIMIT", 1]]
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (22.8ms)
Rendered users/sessions/new.html.erb within layouts/application (38.0ms)

Completed 200 OK in 155ms (Views: 100.8ms | ActiveRecord: 0.4ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:01:50 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7zEXK22uO7Fiv2P/jjZoZAWyUGRr3xrr2RPuqHITHyqlzO6tJlYIg1seUJFZT47PKQlv6zU/dUXi2uKcbFzGKg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "current_sign_in_ip" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["current_sign_in_at", "2018-11-17 14:01:50.817735"], ["last_sign_in_at", "2018-11-17 14:01:50.817735"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["sign_in_count", 1], ["updated_at", "2018-11-17 14:01:50.819109"], ["id", 1]]
 (65.5ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 266ms (ActiveRecord: 66.8ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:01:50 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.0ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 67ms (Views: 63.7ms | ActiveRecord: 0.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:01:52 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
Rendered appointments/all_appointments.html.erb within layouts/application (6.2ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 75ms (Views: 56.9ms | ActiveRecord: 3.2ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-17 12:01:53 -0200 Processing by RoomsController#new as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (124.1ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 210ms (Views: 186.0ms | ActiveRecord: 3.6ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:01:54 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:01:54 -0200 Processing by RoomsController#search_rooms as HTML

User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (6.3ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 93ms (Views: 66.4ms | ActiveRecord: 11.1ms)

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (16.5ms)
Rendered layouts/_header-admin.html.erb (1.9ms)

Completed 200 OK in 607ms (Views: 51.5ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:01:55 -0200 Processing by RoomsController#index as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (4.2ms)
Rendered layouts/_header-admin.html.erb (2.4ms)

Completed 200 OK in 50ms (Views: 39.1ms | ActiveRecord: 0.9ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 12:02:01 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"Q8QD4/RVNWBIUxDzw2qGwffjyYyolXJ2RcSSndwDUmVYcyWXoFlQOAlf05EbeaDfAvynfgaG7OBZ2DpV0dia5g=="}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 34ms (ActiveRecord: 1.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:02:01 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (4.3ms)

Completed 200 OK in 54ms (Views: 52.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 12:02:03 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.8ms)
Rendered users/sessions/new.html.erb within layouts/application (10.3ms)

Completed 200 OK in 59ms (Views: 52.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:02:07 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XCxg4y/gRVityEPKghdfzQA/QCC4ZG0Vgr5nAE18jyKF1wHoXbhwvfTA1UAKdf+77c6M1hIV8S5LLm/WBuH4MQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 6ms (ActiveRecord: 1.2ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XCxg4y/gRVityEPKghdfzQA/QCC4ZG0Vgr5nAE18jyKF1wHoXbhwvfTA1UAKdf+77c6M1hIV8S5LLm/WBuH4MQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.2ms)
Rendered users/sessions/new.html.erb within layouts/application (6.8ms)

Completed 200 OK in 223ms (Views: 56.7ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:02:13 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ffrHkIJ7QYWk8i+534sHAi21/0PAuWBmUOCEMXD44sHe/ejTpcKpozfibUAgquAlhxt9KWAVuqTuUavYNtaO2Q==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 9ms (ActiveRecord: 1.2ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ffrHkIJ7QYWk8i+534sHAi21/0PAuWBmUOCEMXD44sHe/ejTpcKpozfibUAgquAlhxt9KWAVuqTuUavYNtaO2Q==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.1ms)
Rendered users/sessions/new.html.erb within layouts/application (6.4ms)

Completed 200 OK in 238ms (Views: 39.3ms | ActiveRecord: 0.0ms)

Started GET “/create_user” for 127.0.0.1 at 2018-11-17 12:02:19 -0200 Processing by Users::RegistrationsController#new as HTML

Rendering users/registrations/new.html.erb within layouts/application
Rendered layouts/_register-form.html.erb (2.9ms)
Rendered users/registrations/new.html.erb within layouts/application (19.2ms)

Completed 200 OK in 98ms (Views: 96.8ms | ActiveRecord: 0.0ms)

Started POST “/create_user” for 127.0.0.1 at 2018-11-17 12:02:37 -0200 Processing by Users::RegistrationsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"6r6osF+9byuf4tI/Iwdar2b9Ud7FkSZGmpxoYBcxjnxtZvzmn3CynAIL1AfSxIWd+f0mwv2YW7tohSqCw+QTbA==", "user"=>{"username"=>"Andre Luis", "registration"=>"140016261", "course"=>"Eng Comp", "email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
 (0.1ms)  BEGIN
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "andre_luisferreira@hotmail.com"], ["encrypted_password", "$2a$11$xs5tWiA9meMIXQ4FHOvcweuIZils2FFqnKxSSy6bF//O/xo8B3V0K"], ["created_at", "2018-11-17 14:02:37.212900"], ["updated_at", "2018-11-17 14:02:37.212900"], ["username", "Andre Luis"], ["registration", "140016261"], ["course", "Eng Comp"]]
 (179.0ms)  COMMIT
 (0.2ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 14:02:37.395014"], ["last_sign_in_at", "2018-11-17 14:02:37.395014"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 14:02:37.395955"], ["id", 3]]
 (168.0ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 549ms (ActiveRecord: 349.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:02:37 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (4.0ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:02:38 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.8ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 63ms (Views: 55.6ms | ActiveRecord: 1.9ms)

Started GET “/users/3/edit” for 127.0.0.1 at 2018-11-17 12:02:39 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"3"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (16.2ms)
Rendered layouts/_header-user.html.erb (3.6ms)

Completed 200 OK in 90ms (Views: 84.7ms | ActiveRecord: 1.0ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:02:39 -0200 Processing by RoomsController#search_rooms as HTML

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (6.4ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 64ms (Views: 57.4ms | ActiveRecord: 1.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:02:40 -0200 Processing by RoomsController#index as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (7.6ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 66ms (Views: 59.3ms | ActiveRecord: 1.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:02:41 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (2.7ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 42ms (Views: 38.6ms | ActiveRecord: 0.9ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:02:42 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (7.1ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 94ms (Views: 71.2ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:02:43 -0200 Processing by RoomsController#index as HTML

User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (15.9ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 116ms (Views: 107.3ms | ActiveRecord: 2.1ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 12:02:46 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"mAiFBvbcx3GdVjT/JLewPrw415GB+QubkHAdUgkYBqA7D6pF0WUvVw5GdgbbllcZFpZV+yFV0VkuwTK7TzZquA=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 12ms (ActiveRecord: 1.2ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:02:46 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.6ms)

Completed 200 OK in 53ms (Views: 50.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 12:02:47 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.8ms)
Rendered users/sessions/new.html.erb within layouts/application (19.4ms)

Completed 200 OK in 85ms (Views: 81.6ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:02:51 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"qpBxzcCerE9jFKn1vt/KMMWTnXTAu0/LyH3ZviISRLGq/mQ92UBeyLnwz9CM9feaoMN+8B9pWhlwC3SEAIq4CA==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.9ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-11-17 14:02:51.424254"], ["sign_in_count", 2], ["updated_at", "2018-11-17 14:02:51.425365"], ["id", 1]]
 (144.3ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 369ms (ActiveRecord: 146.5ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:02:51 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.7ms)
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 63ms (Views: 60.5ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:02:53 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (11.8ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 64ms (Views: 58.6ms | ActiveRecord: 1.1ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-17 12:02:54 -0200 Processing by RoomsController#new as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (7.5ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 53ms (Views: 49.1ms | ActiveRecord: 0.5ms)

Started POST “/rooms” for 127.0.0.1 at 2018-11-17 12:03:03 -0200 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QZ7J6j5VPK2UnEfXe9LbfIJlfgu6YEdO6yQN3ZouR1cZHGuW1kGiCvydq4qTOcFaNsrSb9M5ShRYWn7gFdjJiw==", "room"=>{"name"=>"B303", "location"=>"CIC", "tipo_sala"=>"Salas de Aula"}, "commit"=>"Criar Sala"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "B303"], ["location", "CIC"], ["created_at", "2018-11-17 14:03:03.205093"], ["updated_at", "2018-11-17 14:03:03.205093"], ["tipo_sala", "Salas de Aula"]]
 (217.9ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 226ms (ActiveRecord: 219.1ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:03:03 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.7ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 49ms (Views: 46.9ms | ActiveRecord: 0.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:03:04 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.4ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 52ms (Views: 48.1ms | ActiveRecord: 0.8ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 12:03:07 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"o//e3BD3OI1yky7BVeTNsfl46iP0mMAcPWJLxkQlJglIfQMK8aZ06zSG6Ac9x+hRCIwU7CAwe0oG5tXWF8MG5A=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.6ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 8ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:03:07 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.2ms)

Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 12:03:08 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.0ms)
Rendered users/sessions/new.html.erb within layouts/application (13.6ms)

Completed 200 OK in 65ms (Views: 63.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:03:14 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"sT4q4PMcic5SiDxwkKry08lpSE4uibMuKgAtfKBP05NPQgoevc9c9QzZ4IggRvMpZkBD9jPIHtaZOouPF2TQGg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "current_sign_in_at" = $1, "sign_in_count" = $2, "updated_at" = $3 WHERE "users"."id" = $4  [["current_sign_in_at", "2018-11-17 14:03:15.021639"], ["sign_in_count", 2], ["updated_at", "2018-11-17 14:03:15.022734"], ["id", 3]]
 (137.0ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 364ms (ActiveRecord: 140.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:03:15 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (5.8ms)
Rendered layouts/_header-user.html.erb (3.7ms)

Completed 200 OK in 72ms (Views: 69.5ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:03:17 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.5ms)
Rendered layouts/_header-user.html.erb (2.3ms)

Completed 200 OK in 51ms (Views: 46.9ms | ActiveRecord: 0.9ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-17 12:03:19 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (29.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (3.6ms)

Completed 200 OK in 108ms (Views: 88.2ms | ActiveRecord: 1.8ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-17 12:03:29 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"NbIu6DvBWxJrJwirh3uXK1YUBz8yM309mhq361qZLZJcXFJXA2PWA1IC5BDT80/JaIBRglNViKPDtZxPDumUCw==", "appointment_date"=>"2018-11-17", "start_time"=>"8:00", "commit"=>"Alugar"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-11-17 00:00:00"], ["start_time", "08:00:00"], ["status", 1], ["user_id", 3], ["room_id", 1], ["created_at", "2018-11-17 14:03:29.512863"], ["updated_at", "2018-11-17 14:03:29.512863"]]
 (65.8ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 200 OK in 108ms (ActiveRecord: 74.6ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:03:29 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.1ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 49ms (Views: 46.2ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:03:30 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (13.4ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 79ms (Views: 71.7ms | ActiveRecord: 1.2ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-11-17 12:03:34 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.5ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 53ms (Views: 39.4ms | ActiveRecord: 1.0ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:03:35 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (23.4ms)
Rendered layouts/_header-user.html.erb (5.6ms)

Completed 200 OK in 107ms (Views: 100.5ms | ActiveRecord: 1.2ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:03:37 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.7ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 82ms (Views: 75.8ms | ActiveRecord: 1.5ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 12:03:41 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"29vvn67FHpuADabVDm7LrFFXD6keJ3CDbI6BQHQtfGvkCn9B8YNhZcNzwKhEVtD7337uHta79u8DJ6tpPgF4PQ=="}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 13ms (ActiveRecord: 1.4ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:03:41 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.1ms)

Completed 200 OK in 51ms (Views: 48.4ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 12:03:42 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (2.6ms)
Rendered users/sessions/new.html.erb within layouts/application (14.5ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:03:46 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dLB3TCccJzPPHyaY7fIpcfuI8Tat84Tsn8B2DIpywTZm5qIhe75YEVmy8x+P9vuMsqOJgPTrvxlAPbJYEWaeSg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 14:03:46.944264"], ["last_sign_in_at", "2018-11-17 14:02:51.424254"], ["sign_in_count", 3], ["updated_at", "2018-11-17 14:03:46.945267"], ["id", 1]]
 (128.0ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 353ms (ActiveRecord: 129.9ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 12:03:47 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (7.2ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 48ms (Views: 46.0ms | ActiveRecord: 0.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:03:48 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 60ms (Views: 56.3ms | ActiveRecord: 1.9ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 12:03:50 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.4ms)

Completed 200 OK in 86ms (Views: 66.6ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 12:03:54 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jLoR34Wa1wd5bcDhBbSd4aGUlWrr1t4HFF3QXC9tIq+xPskdriq5wyZHePwDIEgWeUtEx018cPcqJoOk2EAiFw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 14:03:54.581925"], ["id", 1]]
 (65.9ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 77ms (ActiveRecord: 67.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:03:54 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (6.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 53ms (Views: 49.2ms | ActiveRecord: 1.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:36 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (17.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 82ms (Views: 76.4ms | ActiveRecord: 2.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:38 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (2.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.8ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.5ms)

Completed 200 OK in 91ms (Views: 84.7ms | ActiveRecord: 4.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:40 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.4ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 81ms (Views: 76.1ms | ActiveRecord: 3.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:41 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.6ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.4ms)

Completed 200 OK in 84ms (Views: 79.4ms | ActiveRecord: 2.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:45 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (6.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 62ms (Views: 58.9ms | ActiveRecord: 1.6ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-17 12:13:46 -0200 Processing by RoomsController#new as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (8.0ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 84ms (Views: 77.9ms | ActiveRecord: 0.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:47 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (8.0ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (17.3ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 77ms (Views: 65.8ms | ActiveRecord: 9.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 12:13:49 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 94ms (Views: 87.0ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 12:13:52 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cBbcQoHjqu/OW/7CJSJCDWoyOnKiZpqUu9KCA0BugeVNkgSAqlPEK5FxRt8jtpf6su3r3wTMNGSFqdH7t0OBXQ==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (1.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 14:13:52.627543"], ["id", 1]]
 (73.9ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 90ms (ActiveRecord: 76.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:52 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 59ms (Views: 55.3ms | ActiveRecord: 1.8ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 12:13:54 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (14.9ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 109ms (Views: 100.5ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 12:13:56 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KR7GSwOLb/4Z1RjbLtJD55VqIEkfLXga/Gd+c8x3KikUmh6JKDsBOkb/oMYoRpYQTbXx5LmH1urCHC2LO1oqkQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 14:13:56.824890"], ["id", 1]]
 (218.1ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 235ms (ActiveRecord: 220.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:13:57 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 66ms (Views: 61.9ms | ActiveRecord: 1.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:38:00 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (50.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 102ms (Views: 95.0ms | ActiveRecord: 2.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:38:01 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]

Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.8ms)

NoMethodError (undefined method `appointment' for #<User:0x007f97ed9f3850> Did you mean? appointments

appointments=):

app/controllers/appointments_controller.rb:61:in `my_appointments' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:38:22 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (58.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 107ms (Views: 91.3ms | ActiveRecord: 11.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:38:23 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.9ms)
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 61ms (Views: 58.3ms | ActiveRecord: 1.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:38:24 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 1], ["LIMIT", 11]]

Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.8ms)

CACHE Appointment Load (0.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 1], ["LIMIT", 11]]

NoMethodError (undefined method `status' for #<ActiveRecord::Associations::CollectionProxy []>):

app/controllers/appointments_controller.rb:61:in `my_appointments' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 12:38:33 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.2ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (51.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 101ms (Views: 96.2ms | ActiveRecord: 1.3ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:38:35 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Rendered appointments/my_appointments.html.erb within layouts/application (0.9ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 62ms (Views: 44.3ms | ActiveRecord: 1.6ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 12:38:46 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"mvHHC8qw7qSLnDmQHHNtUpVLu08oaD2k9pEYGHbWi/+2g63yaB5nVUGQLWxiK/NE5mRSULL0FDroIDpvB1YQhA=="}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 10ms (ActiveRecord: 1.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:38:46 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.1ms)

Completed 200 OK in 50ms (Views: 47.8ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 12:38:47 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.6ms)
Rendered users/sessions/new.html.erb within layouts/application (16.9ms)

Completed 200 OK in 84ms (Views: 81.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 12:38:52 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"jBuRRHUVoOIv+WiKChW/zW8AY2Bde3QmFtzw+olcYPK0UlZKxsSJe5Kd3m22vbUWRjam7cGtyBiHg993kgIjBA==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 14:38:52.798491"], ["last_sign_in_at", "2018-11-17 14:03:15.021639"], ["sign_in_count", 3], ["updated_at", "2018-11-17 14:38:52.799638"], ["id", 3]]
 (183.1ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 415ms (ActiveRecord: 187.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 12:38:53 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.0ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 45ms (Views: 43.6ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:38:56 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendering appointments/my_appointments.html.erb within layouts/application
Rendered appointments/my_appointments.html.erb within layouts/application (2.1ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 91ms (Views: 65.3ms | ActiveRecord: 1.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:39:03 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendering appointments/my_appointments.html.erb within layouts/application
Rendered appointments/my_appointments.html.erb within layouts/application (2.3ms)
Rendered layouts/_header-user.html.erb (4.2ms)

Completed 200 OK in 57ms (Views: 51.0ms | ActiveRecord: 1.0ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:39:43 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.0ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 79ms (Views: 50.9ms | ActiveRecord: 0.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:39:44 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 3], ["LIMIT", 11]]

Completed 500 Internal Server Error in 63ms (ActiveRecord: 7.4ms)

CACHE Appointment Load (0.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 3], ["LIMIT", 11]]

NoMethodError (undefined method `appointment_date' for #<Appointment::ActiveRecord_Associations_CollectionProxy:0x007f97ee4bf5b8>):

app/controllers/appointments_controller.rb:61:in `my_appointments' Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:40:46 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (5.3ms)

Completed 200 OK in 93ms (Views: 62.9ms | ActiveRecord: 4.1ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:40:47 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (11.1ms)
Rendered layouts/_header-user.html.erb (4.0ms)

Completed 200 OK in 82ms (Views: 73.9ms | ActiveRecord: 0.7ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:40:49 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (10.2ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 111ms (Views: 92.7ms | ActiveRecord: 0.8ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:40:50 -0200 Processing by RoomsController#search_rooms as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (6.8ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 70ms (Views: 64.9ms | ActiveRecord: 1.0ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:40:50 -0200 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (25.2ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 97ms (Views: 73.9ms | ActiveRecord: 5.8ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:40:52 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (8.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 3], ["LIMIT", 11]]

Completed 500 Internal Server Error in 48ms (ActiveRecord: 8.0ms)

CACHE Appointment Load (0.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1 LIMIT $2  [["user_id", 3], ["LIMIT", 11]]

NoMethodError (undefined method `appointment_date' for #<Appointment::ActiveRecord_Associations_CollectionProxy:0x007f97d06fdc08>):

app/controllers/appointments_controller.rb:62:in `my_appointments' Started GET “/rooms” for 127.0.0.1 at 2018-11-17 12:44:43 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (16.3ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 95ms (Views: 56.7ms | ActiveRecord: 8.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 12:44:44 -0200 Processing by RoomsController#search_rooms as HTML

User Load (2.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (5.1ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 68ms (Views: 60.0ms | ActiveRecord: 2.9ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 12:44:45 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (26.4ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 93ms (Views: 76.7ms | ActiveRecord: 5.4ms)

Started GET “/users/3/edit” for 127.0.0.1 at 2018-11-17 12:44:48 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"3"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (6.7ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 79ms (Views: 74.4ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments.3” for 127.0.0.1 at 2018-11-17 12:44:50 -0200 Processing by AppointmentsController#my_appointments as

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.2ms)
Rendered layouts/_header-user.html.erb (3.6ms)

Completed 200 OK in 82ms (Views: 68.3ms | ActiveRecord: 1.2ms)

Started GET “/my-appointments.3” for 127.0.0.1 at 2018-11-17 13:47:46 -0200 Processing by AppointmentsController#my_appointments as

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.9ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 96ms (Views: 80.3ms | ActiveRecord: 1.4ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 13:47:54 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"iC94wBfB+oh+570amhZNzoTWjVrogqMUb5FmDDyT0RKL9NPw5bFIylKTDHUePq8taQAxvP3lIHku7FveLAbjFA=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 14ms (ActiveRecord: 1.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 13:47:54 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.7ms)

Completed 200 OK in 56ms (Views: 54.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 13:47:55 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.0ms)
Rendered users/sessions/new.html.erb within layouts/application (16.6ms)

Completed 200 OK in 71ms (Views: 68.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 13:47:59 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"i0Zr15nPxPYq09uF98bzQXclIeUM9NHx2r5LQNuF1jGyipEsJTkb8TWQ0Y80o7pftxCgBb0+OEqWtbrvYFb0LQ==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 15:47:59.828341"], ["last_sign_in_at", "2018-11-17 14:03:46.944264"], ["sign_in_count", 4], ["updated_at", "2018-11-17 15:47:59.829494"], ["id", 1]]
 (170.4ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 403ms (ActiveRecord: 172.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 13:48:00 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.7ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 54ms (Views: 51.4ms | ActiveRecord: 1.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:48:01 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 67ms (Views: 63.0ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:48:06 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (6.2ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 68ms (Views: 62.9ms | ActiveRecord: 0.9ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 13:48:17 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (19.1ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 74ms (Views: 66.8ms | ActiveRecord: 1.2ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-17 13:48:18 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (11.3ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 66ms (Views: 60.8ms | ActiveRecord: 0.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 13:48:18 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (2.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.6ms)
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 76ms (Views: 67.8ms | ActiveRecord: 2.5ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-17 13:48:19 -0200 Processing by RoomsController#new as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (13.3ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 76ms (Views: 70.6ms | ActiveRecord: 0.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:48:20 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.1ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (16.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 110ms (Views: 105.4ms | ActiveRecord: 2.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:48:24 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 97ms (Views: 92.0ms | ActiveRecord: 1.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:49:42 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.2ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (53.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 120ms (Views: 113.3ms | ActiveRecord: 1.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:49:44 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (2.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 92ms (Views: 82.9ms | ActiveRecord: 2.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:54:35 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 114ms (Views: 88.4ms | ActiveRecord: 9.7ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:54:46 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 91ms (Views: 74.8ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 13:54:56 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G9XJxTkhe/s7aKhN5Ga7ddpvr3WdSiLZD9wm+vGQ/XlOxMBVcZfPCAiKNBgFUbRIvITzEFzp8g2jUO9EXjV3qg==", "appointment"=>{"status"=>"1"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 1], ["updated_at", "2018-11-17 15:54:56.109990"], ["id", 1]]
 (67.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 104ms (ActiveRecord: 74.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:54:56 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (5.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 73ms (Views: 69.3ms | ActiveRecord: 1.1ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:54:58 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.6ms)

Completed 200 OK in 88ms (Views: 73.1ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 13:56:08 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CW5ZU3OnkjvYut39UNmSW971FAfgcSphyRuM5eJgAIDJX1fMGB14j65fOuiRufzEtKM11mdo7I5amFE0Fqki+w==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 15:56:08.243323"], ["id", 1]]
 (72.1ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 182ms (ActiveRecord: 88.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:56:08 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.0ms)

Completed 200 OK in 66ms (Views: 62.0ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:57:15 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.8ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 73ms (Views: 68.5ms | ActiveRecord: 0.7ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 13:57:30 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"vbnOkteVWkUPS3tN5lkIvddg87XU/Rb/g/EwB/GWOat9iMANvC+w8XmunFgnOWYivTbSZFPk0BAQcu3WBV8b0A==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (2.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 15:57:30.737633"], ["id", 1]]
 (61.5ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 78ms (ActiveRecord: 65.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:57:30 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (6.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 63ms (Views: 60.2ms | ActiveRecord: 1.3ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 13:57:42 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 93ms (Views: 86.2ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 13:57:49 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Gfb52ZsfHd0ug7Qw05h6O/iUIcs6WoCZnHOxjrgnnmXZx/dG8KX3aVhmUyUS+BSkksIAGr1DRnYP8GxfTO68Hg==", "appointment"=>{"status"=>"1"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 1], ["updated_at", "2018-11-17 15:57:49.709338"], ["id", 1]]
 (69.3ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 81ms (ActiveRecord: 70.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 13:57:49 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 66ms (Views: 62.8ms | ActiveRecord: 1.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 14:04:23 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.2ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.0ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 90ms (Views: 56.3ms | ActiveRecord: 5.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:04:27 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (2.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (72.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 133ms (Views: 123.5ms | ActiveRecord: 6.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:04:30 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.7ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 500 Internal Server Error in 203ms (Views: 82.3ms | ActiveRecord: 0.8ms)

NoMethodError (undefined method `valid_user' for #<AppointmentsController:0x007f97e40cf188>):

activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:235:in `block in halting_and_conditional' activesupport (5.1.6) lib/active_support/callbacks.rb:511:in `block in invoke_after' activesupport (5.1.6) lib/active_support/callbacks.rb:511:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:511:in `invoke_after' activesupport (5.1.6) lib/active_support/callbacks.rb:132:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:25:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:04:53 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (59.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.6ms)

Completed 200 OK in 123ms (Views: 110.6ms | ActiveRecord: 7.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:04:55 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (6.8ms)

Completed 200 OK in 85ms (Views: 81.0ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:04:56 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.9ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 113ms (Views: 83.3ms | ActiveRecord: 9.0ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:05:06 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"v8I32ul3wjB2InPiQEclKKd27H9ig7qrlHk5sG0eSTV/8zlFgs0ohADHlPeBJ0u3zSDNruWafEQH+uRhmddrTg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.9ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 16:05:06.768272"], ["id", 1]]
 (4325.1ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 4374ms (ActiveRecord: 4329.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:05:11 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.8ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 59ms (Views: 56.4ms | ActiveRecord: 1.3ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:05:12 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 75ms (Views: 70.2ms | ActiveRecord: 1.1ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:05:26 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"Kxkclx8m6YdX2NmfFgVlZqN788W77Z+/2Dedo94QvW7rKBIIdJwDMyE9PorXZQv5yS3SFDz0WVBLtEByKtmfFQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (3.4ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 18ms (ActiveRecord: 4.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:05:26 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.4ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.6ms)

Completed 200 OK in 84ms (Views: 81.1ms | ActiveRecord: 1.3ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:08:31 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.4ms)
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 99ms (Views: 71.7ms | ActiveRecord: 12.1ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:08:33 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"H6RojnQIbu9yUj4GiGzvKpM7iU5anzfhAr5WiJIRXODflWYRH7KEWwS32RNJDIG1+W2on92G8Q6RPYtZZth+mw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 36ms (ActiveRecord: 1.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:08:33 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.9ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.7ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 81ms (Views: 76.7ms | ActiveRecord: 2.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:09:44 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (52.4ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 103ms (Views: 95.1ms | ActiveRecord: 3.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:10:10 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.6ms)

Completed 200 OK in 60ms (Views: 57.5ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:10:15 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (8.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 71ms (Views: 65.9ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:10:19 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"BNwkxw4RovARu6/8Lyv84wTikHWPy3iqLIee1nqUE9DE7SpYZatIRGdeSOnuS5J8brSxpAjSvkW/BEMHjl0xqw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 18ms (ActiveRecord: 2.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:10:19 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (14.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 79ms (Views: 75.2ms | ActiveRecord: 1.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:18:50 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (50.4ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 102ms (Views: 96.3ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:18:52 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 77ms (Views: 65.3ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:18:57 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"J7OMa3lDRZXlNYUhVJfpBypkM9pazFb80fAdEkCrfTTngoL0EvmvIZPQYjSV94eYQDISC93VkBNCc8DDtGJfTw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.9ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments UserMailer#status_notification: processed outbound mail in 7.9ms Completed 500 Internal Server Error in 51ms (ActiveRecord: 2.2ms)

ActionView::MissingTemplate (Missing template user_mailer/status_notification with “mailer”. Searched in:

"user_mailer"

):

app/mailers/user_mailer.rb:15:in `status_notification' app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:57:in `update' Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:21:17 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 102ms (Views: 96.6ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:21:19 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FE9YbSbkJAg97bC0Zjv+3I2Dzc7RbNQlg0iVkwdvcuVBXlH9blKQ+w4PLOGHDPHh62iRqxDPBPEvxFwtqMr4Ng==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 475.6ms Sent mail to andre_luisferreira@hotmail.com (3527.7ms) Date: Sat, 17 Nov 2018 14:21:20 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf040007250b_77331ee2f182962@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Notifica=C3=A7=C3=A3o_da_sua_reserva?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf0400070b0f_77331ee2f182839";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf0400070b0f_77331ee2f182839 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bf0400070b0f_77331ee2f182839 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bf0400070b0f_77331ee2f182839–

Completed 302 Found in 4018ms (ActiveRecord: 1.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:21:24 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (15.8ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.5ms)

Completed 200 OK in 101ms (Views: 97.0ms | ActiveRecord: 2.1ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:22:02 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.9ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.0ms)

Completed 200 OK in 97ms (Views: 87.2ms | ActiveRecord: 1.1ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:22:05 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"4EskVRmSMyLRLLf8EciTf9NwE2SCnepmzHvRby20mmMgeirKcijZlqfJUOnQqP3guSYytQWELIlf+Ay+2X24GA==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 16:22:05.100638"], ["id", 1]]
 (89.6ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.0ms)

UserMailer#status_notification: processed outbound mail in 32.0ms Sent mail to andre_luisferreira@hotmail.com (3130.3ms) Date: Sat, 17 Nov 2018 14:22:05 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf0402d38b0a_77331ee2c483127@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Notifica=C3=A7=C3=A3o_da_sua_reserva?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf0402d36fec_77331ee2c4830db";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf0402d36fec_77331ee2c4830db Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bf0402d36fec_77331ee2c4830db Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bf0402d36fec_77331ee2c4830db–

Completed 302 Found in 3272ms (ActiveRecord: 91.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:22:08 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (12.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 94ms (Views: 87.6ms | ActiveRecord: 2.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:27:09 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 95ms (Views: 71.8ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:27:12 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2bab3TIAAwN+aO+GNRaHlAX24sZSJczgTYjyzRezL8oZh5VCWbrptwiNCJP0dukLb6DDF9U8Cg/eCy8c43oNsQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 16:27:12.753105"], ["id", 1]]
 (319.6ms)  COMMIT

Redirected to localhost:3000/all-appointments UserMailer#status_notification: processed outbound mail in 11.5ms Completed 500 Internal Server Error in 388ms (ActiveRecord: 326.1ms)

NameError (undefined local variable or method `user' for #<UserMailer:0x007f97d13ec518> Did you mean? @user):

app/mailers/user_mailer.rb:18:in `status_notification' app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:57:in `update' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:29:05 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (57.0ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 106ms (Views: 90.6ms | ActiveRecord: 10.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:29:06 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.6ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 86ms (Views: 82.5ms | ActiveRecord: 1.6ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:29:07 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 76ms (Views: 70.8ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:29:10 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bLXLkvuL17A/peqBcO0SxU5ElGFjv1ArDsnSL+k+YHqshMUNkDE9BElADZSxjXxaJBK1sOSmlsSdSg/+HfdCAQ==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 16:29:10.790104"], ["id", 1]]
 (67.4ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 13.8ms Sent mail to andre_luisferreira@hotmail.com (3216.2ms) Date: Sat, 17 Nov 2018 14:29:10 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf041d6d798e_77331ee29dc3351@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Notifica=C3=A7=C3=A3o_da_sua_reserva?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf041d6d6ae3_77331ee29dc32ba";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf041d6d6ae3_77331ee29dc32ba Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio @user.username

Informamos que seu pedido de reserva para a sala @appointment.room.name f= oi @appointment.status pelo administrador do sistema.

Atenciosamente, Resevar-de-Salas UnB.

—-==_mimepart_5bf041d6d6ae3_77331ee29dc32ba Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio @user.username</p>

<p>Informamos que seu pedido de reserva para a sala @appointment.room.nam= e foi @appointment.status pelo administrador do sistema.</p>

<p>Atenciosamente, Resevar-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf041d6d6ae3_77331ee29dc32ba–

Completed 302 Found in 3326ms (ActiveRecord: 69.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:29:14 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (12.4ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 100ms (Views: 95.2ms | ActiveRecord: 2.3ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:40:31 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 91ms (Views: 76.7ms | ActiveRecord: 0.6ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:40:34 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"83p+ENhQNcBVtdsrFNS+QZP5YhixoH52Xu8/6xHCy+YzS3CPs+rfdCNQPD7VtNDe+a9DyTa5uJnNbOI65QvpnQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (1.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (1.3ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 16:40:34.371062"], ["id", 1]]
 (68.1ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 16.5ms Sent mail to andre_luisferreira@hotmail.com (3142.0ms) Date: Sat, 17 Nov 2018 14:40:34 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf0448273451_77331ee289c3559@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf04482721a4_77331ee289c347a";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf04482721a4_77331ee289c347a Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio @user.username

Informamos que seu pedido de reserva para a sala @appointment.room.name f= oi @appointment.status pelo administrador do sistema.

Atenciosamente, Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf04482721a4_77331ee289c347a Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio {{@user.username}}</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi @appointment= .status pelo administrador do sistema.</p>

<p>Atenciosamente, Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf04482721a4_77331ee289c347a–

Completed 302 Found in 3290ms (ActiveRecord: 78.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:40:37 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.9ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 87ms (Views: 82.9ms | ActiveRecord: 2.1ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 14:42:10 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (3.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 87ms (Views: 69.7ms | ActiveRecord: 4.3ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 14:42:11 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"XHlTm5m5Jolqqbvo7JwN998sfUCn6urJMHY7DPjwGXGcSF0E8gPMPRxMXP0t/GNotXpckSDzLCaj9ebdDDk7Cg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (1.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 13.4ms Sent mail to andre_luisferreira@hotmail.com (3022.6ms) Date: Sat, 17 Nov 2018 14:42:11 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf044e333755_77331ee2e143764@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf044e332a66_77331ee2e14361";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf044e332a66_77331ee2e14361 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi 2 pelo administ= rador do sistema.

Atenciosamente, Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf044e332a66_77331ee2e14361 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi 2 pelo admin= istrador do sistema.</p>

<p>Atenciosamente, Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf044e332a66_77331ee2e14361–

Completed 302 Found in 3055ms (ActiveRecord: 2.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 14:42:14 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (12.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 81ms (Views: 76.1ms | ActiveRecord: 2.3ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:01:03 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 83ms (Views: 75.1ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:01:04 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"yllaKTkx+mPMOiArpO64eCRBYhjG40SJoeSrQfQv/PEKaFS2UosQ17rfxz5ljtbnThdDyUH6gmYyZ3aQAObeig==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 13.5ms Sent mail to andre_luisferreira@hotmail.com (3232.1ms) Date: Sat, 17 Nov 2018 15:01:04 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf049505a965_77331ee2c483988@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf0495059e0b_77331ee2c4838c0";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf0495059e0b_77331ee2c4838c0 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi 2 pelo administ= rador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf0495059e0b_77331ee2c4838c0 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi 2 pelo admin= istrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

<div class=3D"two">something else</div>

 </body>

</html>

—-==_mimepart_5bf0495059e0b_77331ee2c4838c0–

Completed 302 Found in 3259ms (ActiveRecord: 1.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:01:07 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 67ms (Views: 63.9ms | ActiveRecord: 1.6ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:02:30 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 63ms (Views: 57.0ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:02:31 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"x8QH7CEL/4mm0/BH6bgwTDt3iniX9YbswuqMDmh2owsH9QlzSrEVPdA2F1Io2F7TUSGrqRDsQANRaVHfnL+BcA==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 11.7ms Sent mail to andre_luisferreira@hotmail.com (3149.8ms) Date: Sat, 17 Nov 2018 15:02:31 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf049a7e59f6_77331ee29dc414@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf049a7e4b07_77331ee29dc402a";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf049a7e4b07_77331ee29dc402a Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi 2 pelo administ= rador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf049a7e4b07_77331ee29dc402a Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi 2 pelo admin= istrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

<p>Reprovado</p>

 </body>

</html>

—-==_mimepart_5bf049a7e4b07_77331ee29dc402a–

Completed 302 Found in 3178ms (ActiveRecord: 1.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:02:35 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.2ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 74ms (Views: 68.9ms | ActiveRecord: 3.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:03:38 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 65ms (Views: 62.5ms | ActiveRecord: 0.7ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:04:33 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.7ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 56ms (Views: 50.6ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:04:36 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9T2OHBv/XS1CtBFgOfzQjmSfrDTvI2mSyLzhel2W02mgLIeMU0np3nFWjTXYy9+zAnTwUS6AuUZkMCjE8jNZug==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (2.4ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 17.6ms Sent mail to andre_luisferreira@hotmail.com (3100.1ms) Date: Sat, 17 Nov 2018 15:04:36 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf04a24cfeee_77331ee2c48434d@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf04a24ced9e_77331ee2c48427b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf04a24ced9e_77331ee2c48427b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi <p>Aprovado</p= > pelo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf04a24ced9e_77331ee2c48427b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi <p>Aprovado= </p> pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf04a24ced9e_77331ee2c48427b–

Completed 302 Found in 3137ms (ActiveRecord: 4.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:04:39 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 85ms (Views: 80.6ms | ActiveRecord: 1.7ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:05:24 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 108ms (Views: 101.6ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:05:26 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"+ewJWzN830VOC/mvrBCv5S9ZPGC+WWiiktqrQt+mpK853QfEWMY18TjuHrptcMF6RQ8dsTlArk0BWXaTK2+G1A==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (1.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 17:05:26.212211"], ["id", 1]]
 (64.8ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 12.3ms Sent mail to andre_luisferreira@hotmail.com (3275.9ms) Date: Sat, 17 Nov 2018 15:05:26 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf04a5648553_77331ee289c45d1@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf04a5647722_77331ee289c443b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf04a5647722_77331ee289c443b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf04a5647722_77331ee289c443b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi <p>Reprovad= o</p> pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf04a5647722_77331ee289c443b–

Completed 302 Found in 3373ms (ActiveRecord: 67.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:05:29 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.0ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 52ms (Views: 48.5ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:06:06 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 69ms (Views: 63.7ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:06:08 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KfT6XC8tj0c5l7PQ+Alck+11fx2TEdCGWA5wGCKxsyDpxfTDRJdl809yVMU5aTIMhyNezBQIFmnLja3J1niRWw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 17:06:09.017190"], ["id", 1]]
 (62.5ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.8ms)

UserMailer#status_notification: processed outbound mail in 24.0ms Sent mail to andre_luisferreira@hotmail.com (3049.8ms) Date: Sat, 17 Nov 2018 15:06:09 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf04a811b18b_77331ee2e1447b8@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf04a8119985_77331ee2e1446e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf04a8119985_77331ee2e1446e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf04a8119985_77331ee2e1446e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf04a8119985_77331ee2e1446e–

Completed 302 Found in 3158ms (ActiveRecord: 65.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:06:12 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 82ms (Views: 77.2ms | ActiveRecord: 2.1ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 15:06:28 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 71ms (Views: 66.0ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 15:06:31 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"0B/juinmSsycg2uGiILTP6sK2f1yEamGvuHrgW2Gnd0QLu0lQlygeOpmjJNJ4r2gwVz4LPUIb2ktYjZQmU+/pg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 17:06:31.268478"], ["id", 1]]
 (79.5ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 12.6ms Sent mail to andre_luisferreira@hotmail.com (3128.5ms) Date: Sat, 17 Nov 2018 15:06:31 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf04a9759a26_77331ee29dc4918@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf04a97589cf_77331ee29dc48a7";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf04a97589cf_77331ee29dc48a7 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf04a97589cf_77331ee29dc48a7 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf04a97589cf_77331ee29dc48a7–

Completed 302 Found in 3238ms (ActiveRecord: 81.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 15:06:34 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.8ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.5ms)

Completed 200 OK in 68ms (Views: 65.5ms | ActiveRecord: 1.4ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-17 16:29:12 -0200 Processing by RoomsController#new as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (12.9ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 122ms (Views: 72.3ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:29:14 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (10.6ms)
Rendered layouts/_header-admin.html.erb (4.8ms)

Completed 200 OK in 80ms (Views: 67.0ms | ActiveRecord: 2.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:29:16 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (10.0ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (37.8ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.3ms)

Completed 200 OK in 100ms (Views: 86.1ms | ActiveRecord: 11.1ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:29:17 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.8ms)
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 68ms (Views: 62.1ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:29:21 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z+rBfZY7HOZ95pbcjbnfmt9mM/Ndm6ye+gMKxRd4WdsP28/i/YH2UgsDcclM2bEFtTASItqCanFpgNcU47F7oA==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 18:29:21.825491"], ["id", 1]]
 (82.0ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.8ms)

UserMailer#status_notification: processed outbound mail in 14.8ms Sent mail to andre_luisferreira@hotmail.com (4.7ms) Date: Sat, 17 Nov 2018 16:29:21 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05e01e3e35_77331ee2c4851bb@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05e01e2deb_77331ee2c485077";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05e01e2deb_77331ee2c485077 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05e01e2deb_77331ee2c485077 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05e01e2deb_77331ee2c485077–

Completed 500 Internal Server Error in 125ms (ActiveRecord: 83.5ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 16:29:47 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"iKfKGEh6zpa6tuLHymKNozg7O5vyMIMmeHgyFUYoZGfdtsOIAMx6ZYlUfpIrVYKeXtBn/jOTU/LU9Pur6Y3utA=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:29:48 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.2ms)

Completed 200 OK in 60ms (Views: 58.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 16:29:49 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.7ms)
Rendered users/sessions/new.html.erb within layouts/application (14.5ms)

Completed 200 OK in 86ms (Views: 84.6ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 16:29:53 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"FX/1KnJQfz1FbG5naodRfrwrtraHb6u4I77gaUKE+9MktGReuJvzM0p+C/XHrZZ7SWQScJZLGPRoPRqhCrwzhg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 18:29:53.195930"], ["last_sign_in_at", "2018-11-17 15:47:59.828341"], ["sign_in_count", 5], ["updated_at", "2018-11-17 18:29:53.197158"], ["id", 1]]
 (147.8ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 341ms (ActiveRecord: 149.1ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 16:29:53 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.5ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 71ms (Views: 67.8ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:29:54 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (12.9ms)
Rendered layouts/_header-admin.html.erb (4.5ms)

Completed 200 OK in 106ms (Views: 95.7ms | ActiveRecord: 1.4ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:29:55 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (1.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (14.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 85ms (Views: 78.1ms | ActiveRecord: 2.9ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:29:57 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 92ms (Views: 82.6ms | ActiveRecord: 1.1ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:30:01 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"z/b4epIp1ISiC4FaTx5DI4c9uqp4tbcm8iDa6Mwe3kywjAp4bmvBUAn1fT9cdU3pxffPJEkwkBE2pQg7oZ+S9A==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (1.9ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.9ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 12ms (ActiveRecord: 3.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:30:01 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.0ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 74ms (Views: 70.2ms | ActiveRecord: 2.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:30:05 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 79ms (Views: 75.5ms | ActiveRecord: 0.7ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:30:06 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"57T8l1WCSj7WAFPVyZCkWH0locqwIWZDhDMG/sgjySqYzg6VqcBf6n3+r7Da+6qSP+/URIGkQXRAttQtpaKFkg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.6ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 18:30:06.922409"], ["id", 1]]
 (64.4ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 18.0ms Sent mail to andre_luisferreira@hotmail.com (5.6ms) Date: Sat, 17 Nov 2018 16:30:07 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05e2f29cc_77331ee2f1853ed@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05e2f147c_77331ee2f185226";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05e2f147c_77331ee2f185226 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05e2f147c_77331ee2f185226 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05e2f147c_77331ee2f185226–

Completed 500 Internal Server Error in 106ms (ActiveRecord: 66.7ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:31:04 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"mrNCd7hAY8iR9frBg5ocmCJVaqFMDeh5K7KnlaGZRdZBtxqlGPa+KXhJ7ISx3V39NOKF2xHxChn+BLGfxtQNqg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 12.9ms Sent mail to andre_luisferreira@hotmail.com (4.7ms) Date: Sat, 17 Nov 2018 16:31:04 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05e6830c93_77331ee2c4855a7@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05e682fa15_77331ee2c48548c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05e682fa15_77331ee2c48548c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05e682fa15_77331ee2c48548c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05e682fa15_77331ee2c48548c–

Completed 500 Internal Server Error in 90ms (ActiveRecord: 1.2ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 16:31:18 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"mrNCd7hAY8iR9frBg5ocmCJVaqFMDeh5K7KnlaGZRdZBtxqlGPa+KXhJ7ISx3V39NOKF2xHxChn+BLGfxtQNqg=="}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.1ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 37ms (ActiveRecord: 0.7ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:31:18 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.2ms)

Completed 200 OK in 63ms (Views: 61.0ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 16:31:24 -0200

 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (18.3ms)
Rendered users/sessions/new.html.erb within layouts/application (245.7ms)

Completed 200 OK in 381ms (Views: 342.3ms | ActiveRecord: 3.5ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 16:31:28 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"3P3B5gENYkyzHtKD78jLRAHssv/mBrWOAA2paefhClFayohXswP2L7xy5N2FbA8yLTM27XDZdQy0BRKbu49GbQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 18:31:28.251335"], ["last_sign_in_at", "2018-11-17 14:38:52.798491"], ["sign_in_count", 4], ["updated_at", "2018-11-17 18:31:28.254130"], ["id", 3]]
 (126.7ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 340ms (ActiveRecord: 128.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:31:28 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (5.0ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 70ms (Views: 67.8ms | ActiveRecord: 0.4ms)

Started GET “/users/3/edit” for 127.0.0.1 at 2018-11-17 16:31:29 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"3"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (5.8ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 69ms (Views: 64.7ms | ActiveRecord: 0.6ms)

Started GET “/my-appointments.3” for 127.0.0.1 at 2018-11-17 16:31:30 -0200 Processing by AppointmentsController#my_appointments as

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (47.1ms)
Rendered layouts/_header-user.html.erb (5.1ms)

Completed 200 OK in 190ms (Views: 149.3ms | ActiveRecord: 6.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 16:31:34 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (25.6ms)
Rendered layouts/_header-user.html.erb (4.3ms)

Completed 200 OK in 110ms (Views: 87.8ms | ActiveRecord: 3.5ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-17 16:31:36 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (24.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 89ms (Views: 81.7ms | ActiveRecord: 1.4ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-17 16:31:46 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lZxBe4vTAK+Dj1Y6KUpT9iVgcaNXLV6Zbf84EwOfIpFsav5tSk9VJmy6YaQ/C2p+dGM1zQvJtex1XsSPB+JUQA==", "appointment_date"=>"2018-11-22", "start_time"=>"6:00", "commit"=>"Alugar"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
 (0.1ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-11-22 00:00:00"], ["start_time", "06:00:00"], ["status", 1], ["user_id", 3], ["room_id", 1], ["created_at", "2018-11-17 18:31:46.755470"], ["updated_at", "2018-11-17 18:31:46.755470"]]
 (59.0ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 200 OK in 76ms (ActiveRecord: 61.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 16:31:46 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (4.2ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 0.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 16:31:49 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (18.7ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 85ms (Views: 78.9ms | ActiveRecord: 1.9ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-17 16:31:50 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (9.1ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (45.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (4.0ms)

Completed 200 OK in 155ms (Views: 133.6ms | ActiveRecord: 10.2ms)

Started POST “/appointments.1” for 127.0.0.1 at 2018-11-17 16:32:05 -0200 Processing by AppointmentsController#create as

Parameters: {"utf8"=>"✓", "authenticity_token"=>"iQxD1OsUNJsfnX24l1cyd0DYS3YhyGH/IBRlEDnoMFdw+vzCKohhEvCoSiaBFgv/EdsPGH0sioo4tZmMPZVGhg==", "appointment_date"=>"2018-11-17", "start_time"=>"16:00", "commit"=>"Alugar"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
 (0.2ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-11-17 00:00:00"], ["start_time", "16:00:00"], ["status", 1], ["user_id", 3], ["room_id", 1], ["created_at", "2018-11-17 18:32:05.525136"], ["updated_at", "2018-11-17 18:32:05.525136"]]
 (768.3ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 200 OK in 785ms (ActiveRecord: 771.2ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 16:32:06 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (8.4ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 80ms (Views: 76.7ms | ActiveRecord: 1.6ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 16:32:09 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.4ms)
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:32:11 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (6.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (12.4ms)
Rendered layouts/_header-user.html.erb (5.1ms)

Completed 200 OK in 112ms (Views: 95.0ms | ActiveRecord: 6.8ms)

Started DELETE “/appointments/2” for 127.0.0.1 at 2018-11-17 16:32:16 -0200 Processing by AppointmentsController#destroy as HTML

Parameters: {"authenticity_token"=>"q0qmAI3lzHP629IYiyOShZl8o9ZK9/mUrc64RZabuiEN6gLiqNsNhR8qMEH2SseWfc8mnOQxkFDxS2ZWBuJjiA==", "id"=>"2"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.4ms)  DELETE FROM "appointments" WHERE "appointments"."id" = $1  [["id", 2]]
 (154.7ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 169ms (ActiveRecord: 157.2ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:32:16 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (6.7ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 81ms (Views: 77.3ms | ActiveRecord: 1.1ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:32:18 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (7.5ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 71ms (Views: 66.7ms | ActiveRecord: 1.3ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 16:32:19 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"77YT67CWO3p86Vi77JDtYGQdryV6Nqb6pEuc22Pp3wFJFrcJlaj6jJkYuuKR+bhzgK4qb9Twzz74zkLI85AGqA=="}
User Load (1.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 18ms (ActiveRecord: 1.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:32:20 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.3ms)

Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 16:32:21 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.2ms)
Rendered users/sessions/new.html.erb within layouts/application (9.1ms)

Completed 200 OK in 75ms (Views: 73.4ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 16:32:24 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"QrTEgDXDazhkY1ixtoQysWPlHMZyNztdOWCthEx4qtrhO8wuhQ/2piIsVtfUNvnKW4th/mFB2rhZvnKYf4gzag==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 18:32:24.817303"], ["last_sign_in_at", "2018-11-17 18:29:53.195930"], ["sign_in_count", 6], ["updated_at", "2018-11-17 18:32:24.818455"], ["id", 1]]
 (119.3ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 314ms (ActiveRecord: 120.7ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-17 16:32:24 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.6ms)
Rendered layouts/_header-admin.html.erb (5.1ms)

Completed 200 OK in 75ms (Views: 71.9ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:32:28 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (2.1ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (7.6ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 109ms (Views: 97.2ms | ActiveRecord: 3.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:32:29 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 75ms (Views: 72.0ms | ActiveRecord: 1.7ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:32:30 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 90ms (Views: 83.8ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:32:35 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"OVS3p37WIGEC7H6ZHEyFvP06ulQQvfD4zbEuWQ7unHUSw44d2NCKRWGq3Xj390o9Enzl/qjkkrqWRBcDM+H9zQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 18:32:35.439575"], ["id", 1]]
 (264.7ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 306.5ms Sent mail to andre_luisferreira@hotmail.com (8.9ms) Date: Sat, 17 Nov 2018 16:32:36 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05ec492ec_13a21ffc2a082529@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05ec47495_13a21ffc2a0824c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05ec47495_13a21ffc2a0824c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05ec47495_13a21ffc2a0824c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05ec47495_13a21ffc2a0824c–

Completed 500 Internal Server Error in 612ms (ActiveRecord: 267.3ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:32:38 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 68ms (Views: 64.5ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:32:42 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (8.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 90ms (Views: 86.7ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:32:44 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HYRp4EzGq+qFWOg70OB+k4k5YghJyp37PkmH6D4bM8c2E1Ba6sABzuYeS9o7W7ESZn89ovGT/7llvL6yAxRSfw==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 18:32:44.612647"], ["id", 1]]
 (214.7ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 18.2ms Sent mail to andre_luisferreira@hotmail.com (5.1ms) Date: Sat, 17 Nov 2018 16:32:44 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05eccd012e_13a21ffc408827a7@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05ecccf18d_13a21ffc4088265e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05ecccf18d_13a21ffc4088265e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05ecccf18d_13a21ffc4088265e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05ecccf18d_13a21ffc4088265e–

Completed 500 Internal Server Error in 251ms (ActiveRecord: 216.4ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:32:47 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (15.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 88ms (Views: 83.6ms | ActiveRecord: 2.0ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-17 16:32:48 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 65ms (Views: 59.7ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-17 16:32:51 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fHpPVTmfLkCNdphn0Aat1mTdxMNLlgM9uR2/Ti870QSkyo7QdhC655eBk3de3hLzAptX0z/bmg52228yNzO38w==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 18:32:51.117524"], ["id", 3]]
 (727.9ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.5ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.3ms)

UserMailer#status_notification: processed outbound mail in 28.6ms Sent mail to andre_luisferreira@hotmail.com (7.0ms) Date: Sat, 17 Nov 2018 16:32:51 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05ed3d7151_13a21ffc4d082981@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05ed3d54f7_13a21ffc4d082834";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05ed3d54f7_13a21ffc4d082834 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05ed3d54f7_13a21ffc4d082834 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05ed3d54f7_13a21ffc4d082834–

Completed 500 Internal Server Error in 785ms (ActiveRecord: 729.4ms)

SocketError (getaddrinfo: Temporary failure in name resolution):

app/models/appointment.rb:9:in `send_status_notification_email' app/controllers/appointments_controller.rb:59:in `update' Started GET “/” for 127.0.0.1 at 2018-11-17 16:33:16 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.8ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 63ms (Views: 59.6ms | ActiveRecord: 0.5ms)

Started GET “/users/1/edit” for 127.0.0.1 at 2018-11-17 16:33:19 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (11.8ms)
Rendered layouts/_header-admin.html.erb (4.4ms)

Completed 200 OK in 74ms (Views: 67.6ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments.1” for 127.0.0.1 at 2018-11-17 16:33:19 -0200 Processing by AppointmentsController#my_appointments as

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (4.9ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (8.5ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 81ms (Views: 62.5ms | ActiveRecord: 5.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:33:20 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (20.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.7ms)

Completed 200 OK in 99ms (Views: 94.9ms | ActiveRecord: 1.8ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-17 16:33:22 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 96ms (Views: 87.7ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-17 16:33:25 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"5DnYAT/2LckObV+GohDRJ5Wtpgg3l9aysukW2GMyHuo8iRmEcHm5bhSaVJYsyG4C8+s1GEPaT4F9L8akezp4HQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 15ms (ActiveRecord: 2.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:33:25 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 69ms (Views: 66.3ms | ActiveRecord: 1.5ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-17 16:33:27 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 64ms (Views: 58.8ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-17 16:33:29 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"DjzArNa2RyWaNCkMAO3ZA4frOLDg1Ynp0UbqyWJOWnTWjAEpmTnTgoDDIhyONWYm4a2roJSYENoegDq1ekY8gw==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (5.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (1.0ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 18:33:29.976287"], ["id", 3]]
 (97.3ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (2.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 20.0ms Sent mail to andre_luisferreira@hotmail.com (3557.2ms) Date: Sat, 17 Nov 2018 16:33:30 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05efa1888a_13a21ffc4088312@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05efa176bf_13a21ffc40883021";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05efa176bf_13a21ffc40883021 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05efa176bf_13a21ffc40883021 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05efa176bf_13a21ffc40883021–

Completed 302 Found in 3704ms (ActiveRecord: 105.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:33:33 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (17.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 95ms (Views: 90.3ms | ActiveRecord: 2.0ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:33:56 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.8ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 51ms (Views: 47.5ms | ActiveRecord: 0.7ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:33:59 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gIAFC+Y4fvzMBEZE9j6XXTgVYHYBh4nJRY1khQRzt3OrFzyxQD7U2K9C5aUdhVjc11M/3Lne64seeF3fOXzWyw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.4ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (1.3ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-17 18:33:59.050364"], ["id", 1]]
 (90.1ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 11.4ms Sent mail to andre_luisferreira@hotmail.com (3170.0ms) Date: Sat, 17 Nov 2018 16:33:59 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05f1726efe_13a21ffc4d083355@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05f172615b_13a21ffc4d083229";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05f172615b_13a21ffc4d083229 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05f172615b_13a21ffc4d083229 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05f172615b_13a21ffc4d083229–

Completed 302 Found in 3287ms (ActiveRecord: 92.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:34:02 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.7ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 64ms (Views: 58.9ms | ActiveRecord: 2.8ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:34:04 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.1ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 88ms (Views: 84.5ms | ActiveRecord: 0.7ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:34:06 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"fYtLOngOuCDZs3eL9CY1rNRmw8VSCEyl4aT2jLw9Dv9WHHKA3ggSBLr11GofnfotOyCcb+pRLue6Uc/WgTJvRw==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (1.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.5ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 27ms (ActiveRecord: 2.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:34:06 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (18.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 80ms (Views: 76.8ms | ActiveRecord: 1.7ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:34:08 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.6ms)

Completed 200 OK in 87ms (Views: 80.4ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-17 16:34:12 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"nGmumzukVt0HJkMpSD4OSApsWp2WIfZgoam0JDhwI5C3/pchnaL8+WRg4MijhcHJ5SoFNy54lCL6XI1+BX9CKA==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (1.9ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (1.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.7ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-17 18:34:12.189668"], ["id", 1]]
 (61.7ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 18.3ms Sent mail to andre_luisferreira@hotmail.com (3010.3ms) Date: Sat, 17 Nov 2018 16:34:12 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf05f24442a3_13a21ffc4d0835cf@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf05f2442ef4_13a21ffc4d0834ad";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf05f2442ef4_13a21ffc4d0834ad Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf05f2442ef4_13a21ffc4d0834ad Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf05f2442ef4_13a21ffc4d0834ad–

Completed 302 Found in 3113ms (ActiveRecord: 66.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:34:15 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.6ms)

Completed 200 OK in 69ms (Views: 66.5ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-17 16:34:36 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (4.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.1ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 78ms (Views: 70.1ms | ActiveRecord: 5.1ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-17 16:34:38 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.2ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.1ms)

Completed 200 OK in 84ms (Views: 76.5ms | ActiveRecord: 0.7ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-17 16:34:42 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 100ms (Views: 87.4ms | ActiveRecord: 0.7ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-17 16:34:43 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"uW38Bsn/Sht1pWhd0Np6wVoWBn3DAgVkp12lCVj+j6Fh3T2DhnDevG9SY01eAsXkPFCVbbdPnFdom3V1QPbpVg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (2.2ms)  BEGIN
Room Load (1.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.7ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 15ms (ActiveRecord: 5.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-17 16:34:43 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 70ms (Views: 67.0ms | ActiveRecord: 1.7ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 16:34:44 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"/iWa0Guye5SjOvzrW9/YvBRGUgH2nqWKu+tOSpV4kH1FhFtF8rJgjUn2+yYH/yWfUfpX/3ztLIop6AOTyN6jtw=="}
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 17ms (ActiveRecord: 1.5ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:34:44 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.6ms)

Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-17 16:34:48 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.9ms)
Rendered users/sessions/new.html.erb within layouts/application (28.0ms)

Completed 200 OK in 105ms (Views: 102.5ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-17 16:34:52 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RudSCGBx5FC7KI2qN+Z7iMblWaq8KI/I/s2DZkh2DKP6NvJ7762PfYTm/smck6Ss/Wv7RXbrTnCPYjX00Tk6bQ==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-17 18:34:52.728957"], ["last_sign_in_at", "2018-11-17 18:31:28.251335"], ["sign_in_count", 5], ["updated_at", "2018-11-17 18:34:52.730303"], ["id", 3]]
 (1259.5ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 1501ms (ActiveRecord: 1262.3ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:34:54 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.5ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 55ms (Views: 53.6ms | ActiveRecord: 0.4ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:34:58 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (9.9ms)
Rendered layouts/_header-user.html.erb (4.3ms)

Completed 200 OK in 105ms (Views: 95.1ms | ActiveRecord: 1.9ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-17 16:35:00 -0200 Processing by RoomsController#index as HTML

User Load (5.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (15.9ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 122ms (Views: 107.1ms | ActiveRecord: 6.1ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-17 16:35:02 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (1.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.9ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (34.7ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (3.8ms)

Completed 200 OK in 130ms (Views: 121.8ms | ActiveRecord: 2.7ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-17 16:35:09 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"GCCNBQyj//XheiLQT9UQylgVtOZJEen7h0xc57xZ1uearIO3TV+jbt3soBAcRN/hwdHkdJOIocsGyL6d17rHlw=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 8ms (ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-17 16:35:09 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 44ms (Views: 42.8ms | ActiveRecord: 0.0ms)

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$L3LxnAicaz18PpQ1qPI1EeaHMMJPuTbyDBdrxhvk2Pu0mxr4WxuuC"], ["created_at", "2018-11-17 18:47:36.027537"], ["updated_at", "2018-11-17 18:47:36.027537"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:36.045225"], ["updated_at", "2018-11-17 18:47:36.045225"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:36 -0200

 (0.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:36.068346"], ["last_sign_in_at", "2018-11-17 18:47:36.068346"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:36.069037"], ["id", 4]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"2"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:15:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (1.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 2], ["LIMIT", 1]]
 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$M4Dpd9U7ouPrN2a1jF4AyudQ/HxMjguJwDtHHoWPye5L4ydIECqFi"], ["created_at", "2018-11-17 18:47:36.629070"], ["updated_at", "2018-11-17 18:47:36.629070"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:36.632146"], ["updated_at", "2018-11-17 18:47:36.632146"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:36 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:36.636519"], ["last_sign_in_at", "2018-11-17 18:47:36.636519"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:36.637285"], ["id", 5]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"3"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:15:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$xPGQe2Lzi4kKt/at9jOopOFvU.xT/8QIOK9KTJaEoFEI98R7psbEy"], ["created_at", "2018-11-17 18:47:37.014393"], ["updated_at", "2018-11-17 18:47:37.014393"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:37.017594"], ["updated_at", "2018-11-17 18:47:37.017594"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:37 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:37.022179"], ["last_sign_in_at", "2018-11-17 18:47:37.022179"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:37.022926"], ["id", 6]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"4"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:30:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:37 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"4"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:31:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$pfWA8E2UV7fqD/RP0q3uuugAmIz2w6inPZVyd/kk03xCIIddpdrDO"], ["created_at", "2018-11-17 18:47:37.747478"], ["updated_at", "2018-11-17 18:47:37.747478"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:37.751532"], ["updated_at", "2018-11-17 18:47:37.751532"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:37 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:37.756506"], ["last_sign_in_at", "2018-11-17 18:47:37.756506"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:37.757276"], ["id", 7]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"5"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:30:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:37 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "room_id"=>"5"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 5ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:31:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 5], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$akY1IBQrdzMx6rnitB0zgeJ1lT19Ct.TM8lySK8/8b61vn.hqbBaS"], ["created_at", "2018-11-17 18:47:38.340655"], ["updated_at", "2018-11-17 18:47:38.340655"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:38.344109"], ["updated_at", "2018-11-17 18:47:38.344109"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:38 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:38.348670"], ["last_sign_in_at", "2018-11-17 18:47:38.348670"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:38.349336"], ["id", 8]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "room_id"=>"6"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:44:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 6], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$qIfX9vWV4toIn1BAytIz8.MX4HoR73uzcTIpK0R3PBW3Sj6ktEMOS"], ["created_at", "2018-11-17 18:47:38.726243"], ["updated_at", "2018-11-17 18:47:38.726243"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:38.730036"], ["updated_at", "2018-11-17 18:47:38.730036"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-11-17 16:47:38 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:38.734695"], ["last_sign_in_at", "2018-11-17 18:47:38.734695"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:38.735403"], ["id", 9]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "room_id"=>"7"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:44:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$O0cRw0f24MZlfjyQEvHnROV603kv6Msqb.FdVVHsE8KfusNwogpx."], ["created_at", "2018-11-17 18:47:39.129887"], ["updated_at", "2018-11-17 18:47:39.129887"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:39.134034"], ["updated_at", "2018-11-17 18:47:39.134034"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 8], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 10], ["room_id", 8], ["created_at", "2018-11-17 18:47:39.165542"], ["updated_at", "2018-11-17 18:47:39.165542"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/appointments/8” for 127.0.0.1 at 2018-11-17 16:47:39 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:39.169961"], ["last_sign_in_at", "2018-11-17 18:47:39.169961"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:39.170665"], ["id", 10]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"8"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 8], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '8')
Rendered appointments/show.html.erb within layouts/application (11.1ms)
Rendered layouts/_header-user.html.erb (5.4ms)

Completed 200 OK in 283ms (Views: 278.8ms | ActiveRecord: 0.9ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$8yylOE73o4Gop1e3mq2gMer547ujcQwwTirR/7B2tCtEqA5wXUbgq"], ["created_at", "2018-11-17 18:47:39.627249"], ["updated_at", "2018-11-17 18:47:39.627249"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:39.639693"], ["updated_at", "2018-11-17 18:47:39.639693"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 9], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 11], ["room_id", 9], ["created_at", "2018-11-17 18:47:39.648179"], ["updated_at", "2018-11-17 18:47:39.648179"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 9], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 11], ["room_id", 9], ["created_at", "2018-11-17 18:47:39.656149"], ["updated_at", "2018-11-17 18:47:39.656149"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:47:39 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:39.661495"], ["last_sign_in_at", "2018-11-17 18:47:39.661495"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:39.662244"], ["id", 11]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 11]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.3ms)
Rendered layouts/_header-user.html.erb (5.2ms)

Completed 200 OK in 98ms (Views: 85.4ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$BD2OdDVLghpHswRH41OWXeotZxynu.KjQ.iYiEvP1Ktgt1k9JdLaq"], ["created_at", "2018-11-17 18:47:39.937594"], ["updated_at", "2018-11-17 18:47:39.937594"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.7ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:39.942065"], ["updated_at", "2018-11-17 18:47:39.942065"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 12], ["room_id", 10], ["created_at", "2018-11-17 18:47:39.954027"], ["updated_at", "2018-11-17 18:47:39.954027"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 10], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 12], ["room_id", 10], ["created_at", "2018-11-17 18:47:39.961873"], ["updated_at", "2018-11-17 18:47:39.961873"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-17 16:47:39 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:39.966619"], ["last_sign_in_at", "2018-11-17 18:47:39.966619"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:39.967565"], ["id", 12]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 12]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.4ms)
Rendered layouts/_header-user.html.erb (4.4ms)

Completed 200 OK in 74ms (Views: 72.5ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$i9h5BHa/Mea3qUwTMukiNOpmdfAQkIq2oZdwB2rMIbfhJlLyzva3S"], ["created_at", "2018-11-17 18:47:40.220618"], ["updated_at", "2018-11-17 18:47:40.220618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 18:47:40.224031"], ["updated_at", "2018-11-17 18:47:40.224031"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 11], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 13], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 13], ["room_id", 11], ["created_at", "2018-11-17 18:47:40.231458"], ["updated_at", "2018-11-17 18:47:40.231458"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/appointments/9” for 127.0.0.1 at 2018-11-17 16:47:40 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-11-17 18:47:40.235628"], ["last_sign_in_at", "2018-11-17 18:47:40.235628"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-11-17 18:47:40.236383"], ["id", 13]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#destroy as HTML

Parameters: {"id"=>"9"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:103:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 LIMIT $2  [["appointment_date", "22-06-2018"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$poj6ZVZCH02iOzRgKYUpW.uAIuNwh2bj/zGnV9MxLSe5NFFdrCxiK"], ["created_at", "2018-11-17 18:47:40.924626"], ["updated_at", "2018-11-17 18:47:40.924626"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 19.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$EzZBYlbtxlMmIBOJqqUTG.bvF1vAUKkxGZ5VJqPFxK1BfMLBWMyvm"], ["created_at", "2018-11-17 18:47:41.122971"], ["updated_at", "2018-11-17 18:47:41.122971"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
User Exists (2.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "a@a.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "a@a.com"], ["encrypted_password", "$2a$11$sp1xmCq1SoWDlWNtoRo/ZuuTKNTJcKoX0nr7BEog2558U4WWpuNGC"], ["created_at", "2018-11-17 20:46:47.747760"], ["updated_at", "2018-11-17 20:46:47.747760"], ["username", "usuario123"], ["registration", "15015296"], ["course", "CIC"]]
 (58.3ms)  COMMIT
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$NWslM2F0on6PK7YsUhPe..fvjkb5T0fgt8Eoeje0xDsmS8rggRdx."], ["created_at", "2018-11-17 20:46:48.703251"], ["updated_at", "2018-11-17 20:46:48.703251"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.9ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ENlLYB4mXDFxbj7gZcEYVurfPfRm8IF6agtyosQVSjcZ.J2Xh4P6G"], ["created_at", "2018-11-17 20:46:48.884987"], ["updated_at", "2018-11-17 20:46:48.884987"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "a@a.com"], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ibj8/KpBxr2tBJwB202No.rTuhh57x8ItyoH2J9KtY7bZ8lDBG8Vq"], ["created_at", "2018-11-17 20:54:34.482728"], ["updated_at", "2018-11-17 20:54:34.482728"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.9ms

 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ZAT5usiCDVBmjbdxil8B.e4efJJF6BIZVDs82oMGi/QGA9deZcYzi"], ["created_at", "2018-11-17 20:54:34.683221"], ["updated_at", "2018-11-17 20:54:34.683221"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dlu0e5O2lRLlzp3YR3TZBOFendSQnKh.9Dx2x8cZ6JLd09lUtG2ra"], ["created_at", "2018-11-17 21:12:19.720545"], ["updated_at", "2018-11-17 21:12:19.720545"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 12.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$678MUHQE8ySZ5DgnKK/AOerN1lRV6qXYXuu49K/Q6orRAumol0LOm"], ["created_at", "2018-11-17 21:12:19.901363"], ["updated_at", "2018-11-17 21:12:19.901363"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:12:19.932461"], ["updated_at", "2018-11-17 21:12:19.932461"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$2ljqzQHzpXo7UHnED1Aiu.OxxuDdrAVznjnozlJoBOjQjF69m4nsy"], ["created_at", "2018-11-17 21:12:20.093366"], ["updated_at", "2018-11-17 21:12:20.093366"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 12], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 23], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 23], ["room_id", 12], ["created_at", "2018-11-17 21:12:20.127631"], ["updated_at", "2018-11-17 21:12:20.127631"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$8C1Eu1Bx3V.w8KVEefua/OC65MDfckP9NX62fXHUeGVz8G8GxOntG"], ["created_at", "2018-11-17 21:14:39.445955"], ["updated_at", "2018-11-17 21:14:39.445955"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 13.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3kWRrstCjZIxH0hyNrniFu9bFB6mPzcJlbe2ixRDAqQNZOpEgEgA6"], ["created_at", "2018-11-17 21:14:39.626482"], ["updated_at", "2018-11-17 21:14:39.626482"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:14:39.659926"], ["updated_at", "2018-11-17 21:14:39.659926"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Hue2UyjqbUmBVa/r.00.n.wkvg6eJE1KgkDwdt4sbbN2Mm/CZ3aX6"], ["created_at", "2018-11-17 21:14:39.822920"], ["updated_at", "2018-11-17 21:14:39.822920"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 13], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 26], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 26], ["room_id", 13], ["created_at", "2018-11-17 21:14:39.871329"], ["updated_at", "2018-11-17 21:14:39.871329"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:15:14.226166"], ["updated_at", "2018-11-17 21:15:14.226166"], ["tipo_sala", "palestras"]]
 (61.6ms)  COMMIT
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ONHmlL/0YYeUJE9mLO08zePlsW/nI8ix..kvUpSMeA6ISENyj7w0W"], ["created_at", "2018-11-17 21:16:11.331538"], ["updated_at", "2018-11-17 21:16:11.331538"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.0ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 14.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$6WqgLM7eXeGUfYtxPd5TeuxY/GcFegXwNAy.2pNQS6CZPbOoWqR4q"], ["created_at", "2018-11-17 21:16:11.516364"], ["updated_at", "2018-11-17 21:16:11.516364"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/oukONRRXGLOLJIRsLaNx.KEQSI.XHNMIG5iNEiLlpMj69Edcb6ji"], ["created_at", "2018-11-17 21:16:11.696274"], ["updated_at", "2018-11-17 21:16:11.696274"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$ukvbirkoaEohV.lFueqgF.ejYIqGvqQFjSztp34AD37BlqmV/xcsm"], ["created_at", "2018-11-17 21:16:11.861984"], ["updated_at", "2018-11-17 21:16:11.861984"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$LDXvOytlr9/750PSzJMpducLV/FwG4vA/c6TEuKkb2WVXIbnxRWOq"], ["created_at", "2018-11-17 21:16:20.512098"], ["updated_at", "2018-11-17 21:16:20.512098"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (2.1ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 26.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$mjKnGTDMZi12iHCnJGUd5uxjnwQ0U25X/y66XZyVwM.PUGny66nyC"], ["created_at", "2018-11-17 21:16:20.723864"], ["updated_at", "2018-11-17 21:16:20.723864"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$7ObJAHamiD/Hy/1yLFZ97eAWugwtd2Z/2eiwHCZJM2NCqwBsgcMiW"], ["created_at", "2018-11-17 21:16:20.900117"], ["updated_at", "2018-11-17 21:16:20.900117"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:16:20.918185"], ["updated_at", "2018-11-17 21:16:20.918185"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 15], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 33], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 33], ["room_id", 15], ["created_at", "2018-11-17 21:16:20.950715"], ["updated_at", "2018-11-17 21:16:20.950715"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 8.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$0d5a6D4Woyf1CjPS/QSdneuKy6i5fHAvz1zzGp5iWc2F1jCmrNDg6"], ["created_at", "2018-11-17 21:16:21.124691"], ["updated_at", "2018-11-17 21:16:21.124691"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:16:21.127756"], ["updated_at", "2018-11-17 21:16:21.127756"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 16], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 34], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 34], ["room_id", 16], ["created_at", "2018-11-17 21:16:21.134910"], ["updated_at", "2018-11-17 21:16:21.134910"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.0ms)

UserMailer#status_notification: processed outbound mail in 8.0ms

 (0.4ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Jbcm2tPXERhv1ltAcJwTqeJ5g4pd7LHYkUTZd7Q92SFOxBRBmfH.a"], ["created_at", "2018-11-17 21:17:02.667884"], ["updated_at", "2018-11-17 21:17:02.667884"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 16.4ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$GZGYew60VXJtHRglVjWWPeoRA8qZQ/INA.PNTrVUEhe1NcBho5kL6"], ["created_at", "2018-11-17 21:17:02.853878"], ["updated_at", "2018-11-17 21:17:02.853878"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.2ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YM//p5F6TKr30V0XsL9SQOasOiD/02ZDpg939yZakdgHMgS5tXdBC"], ["created_at", "2018-11-17 21:17:03.028369"], ["updated_at", "2018-11-17 21:17:03.028369"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:17:03.045873"], ["updated_at", "2018-11-17 21:17:03.045873"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 17], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 37], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 37], ["room_id", 17], ["created_at", "2018-11-17 21:17:03.077988"], ["updated_at", "2018-11-17 21:17:03.077988"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 8.3ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$iqM7jp2KL/KHe.CYnlUEBeTjod8BvcsUgY6csjR2Eem9J29pVkro2"], ["created_at", "2018-11-17 21:17:03.251584"], ["updated_at", "2018-11-17 21:17:03.251584"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:17:03.254164"], ["updated_at", "2018-11-17 21:17:03.254164"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 18], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 38], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 38], ["room_id", 18], ["created_at", "2018-11-17 21:17:03.259802"], ["updated_at", "2018-11-17 21:17:03.259802"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.0ms)

UserMailer#status_notification: processed outbound mail in 7.6ms

 (0.4ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$plTh.WMmOsljfebubhhy0.psi8s8VTdTqk94MAOrVtM.xIDQ40PMq"], ["created_at", "2018-11-17 21:17:23.483836"], ["updated_at", "2018-11-17 21:17:23.483836"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 13.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eHj5Ao8aW2Nl2eMEPRo9hON2Mx45oOiX.pfsmOzcPZ39IT4bTOchy"], ["created_at", "2018-11-17 21:17:23.669810"], ["updated_at", "2018-11-17 21:17:23.669810"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$sx3fLVNs7LD71d0BAe0BQuabkpOLiXp7FCdwNCLJ8a97dnV/JIXce"], ["created_at", "2018-11-17 21:17:23.846534"], ["updated_at", "2018-11-17 21:17:23.846534"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:17:23.865257"], ["updated_at", "2018-11-17 21:17:23.865257"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 19], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 41], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 41], ["room_id", 19], ["created_at", "2018-11-17 21:17:23.900895"], ["updated_at", "2018-11-17 21:17:23.900895"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 9.8ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$PKywtubWP6.2Lmv6xLKdk.YGqlapjTzzZz626IksO08gLiYf2JPmK"], ["created_at", "2018-11-17 21:17:24.077198"], ["updated_at", "2018-11-17 21:17:24.077198"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:17:24.081325"], ["updated_at", "2018-11-17 21:17:24.081325"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 20], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 42], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 42], ["room_id", 20], ["created_at", "2018-11-17 21:17:24.089386"], ["updated_at", "2018-11-17 21:17:24.089386"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.8ms

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$gPXUY4U.GZjLtqpG3M0f8.wY0/m1wl0qaDAjN1YMNFqDmZ2xqtl4a"], ["created_at", "2018-11-17 21:24:59.307282"], ["updated_at", "2018-11-17 21:24:59.307282"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.7ms)

UserMailer#password_reset: processed outbound mail in 13.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HPFGAeg4YEKSCjVx32hf3ek6LAARPZe1RDg4fBs9o9CnknHfUj0QG"], ["created_at", "2018-11-17 21:24:59.493281"], ["updated_at", "2018-11-17 21:24:59.493281"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$t86OtknoHHvXcRL/Ba4T5uHnOmbAEnPoHWf9yzZ1OQRT0WlLJE0S2"], ["created_at", "2018-11-17 21:24:59.670090"], ["updated_at", "2018-11-17 21:24:59.670090"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:24:59.688861"], ["updated_at", "2018-11-17 21:24:59.688861"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 21], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 45], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 45], ["room_id", 21], ["created_at", "2018-11-17 21:24:59.723000"], ["updated_at", "2018-11-17 21:24:59.723000"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 10.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$RRzoUmE/V/eFCbud7QbMlO.GJRJWDDH31yO8Z2QAwNGktB45hJW4u"], ["created_at", "2018-11-17 21:24:59.898919"], ["updated_at", "2018-11-17 21:24:59.898919"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:24:59.903116"], ["updated_at", "2018-11-17 21:24:59.903116"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 22], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 46], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 46], ["room_id", 22], ["created_at", "2018-11-17 21:24:59.911320"], ["updated_at", "2018-11-17 21:24:59.911320"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.9ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$.Ko1valDEKC6kvPOZvxQDuRGXuY7kSByzJqwXH9R2H6nIC/Tmj7wa"], ["created_at", "2018-11-17 21:25:54.688004"], ["updated_at", "2018-11-17 21:25:54.688004"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:25:54.708003"], ["updated_at", "2018-11-17 21:25:54.708003"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 23], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 47], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 47], ["room_id", 23], ["created_at", "2018-11-17 21:25:54.743635"], ["updated_at", "2018-11-17 21:25:54.743635"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$6ubi0GeRCbOIhKTNRkPnW.tJvispL6qDctgfng9TOQ9oe.eLXPKca"], ["created_at", "2018-11-17 21:25:54.914161"], ["updated_at", "2018-11-17 21:25:54.914161"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:25:54.917041"], ["updated_at", "2018-11-17 21:25:54.917041"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 24], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 48], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 48], ["room_id", 24], ["created_at", "2018-11-17 21:25:54.922675"], ["updated_at", "2018-11-17 21:25:54.922675"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 250.7ms

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$nt0yU88dVf/RVqKseJBHwead3Ci6Ex6UG4CL4oYwNWb4yV7q5zDyO"], ["created_at", "2018-11-17 21:25:55.352498"], ["updated_at", "2018-11-17 21:25:55.352498"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"49"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Aj5wbEFg38OI9LoOzM1e0Od1XmDaOdviU.B0kExHW0dPEsDPu1pjO"], ["created_at", "2018-11-17 21:27:18.212442"], ["updated_at", "2018-11-17 21:27:18.212442"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:27:18.229603"], ["updated_at", "2018-11-17 21:27:18.229603"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 25], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 50], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 50], ["room_id", 25], ["created_at", "2018-11-17 21:27:18.265146"], ["updated_at", "2018-11-17 21:27:18.265146"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$aaFwP1hQvK7l1lNqkd39IuPXJS3b6A.k.zXIzPe4oWB4yt20PAcZ."], ["created_at", "2018-11-17 21:27:18.442288"], ["updated_at", "2018-11-17 21:27:18.442288"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:27:18.446964"], ["updated_at", "2018-11-17 21:27:18.446964"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 26], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 51], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 51], ["room_id", 26], ["created_at", "2018-11-17 21:27:18.452984"], ["updated_at", "2018-11-17 21:27:18.452984"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 283.1ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$bK.YWanhenGyOqgd97mdhejn.nU7vMuUU3U5zOSZpE5oJStTZkQNq"], ["created_at", "2018-11-17 21:27:18.912469"], ["updated_at", "2018-11-17 21:27:18.912469"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"52"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$av4xQ8TXSzox.dtL/karnexpIBTm8y3aAF4UIeVZGmoA2vPzb52PC"], ["created_at", "2018-11-17 21:28:28.966439"], ["updated_at", "2018-11-17 21:28:28.966439"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:28:28.987375"], ["updated_at", "2018-11-17 21:28:28.987375"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 27], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 53], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 53], ["room_id", 27], ["created_at", "2018-11-17 21:28:29.023252"], ["updated_at", "2018-11-17 21:28:29.023252"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$O86ba9eoOudJrqhH4uA6ZOe9xFR8pgfucogOrB5O9o8jcMngBxw7G"], ["created_at", "2018-11-17 21:28:29.194865"], ["updated_at", "2018-11-17 21:28:29.194865"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:28:29.198220"], ["updated_at", "2018-11-17 21:28:29.198220"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 28], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 54], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 54], ["room_id", 28], ["created_at", "2018-11-17 21:28:29.205760"], ["updated_at", "2018-11-17 21:28:29.205760"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 252.5ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$L2MYXjpDBm0lGq0cJyvDJOj/0tjmY3hkVUzpSjjBdNcuxOyYJVLVu"], ["created_at", "2018-11-17 21:28:29.624003"], ["updated_at", "2018-11-17 21:28:29.624003"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"55"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$mDD/NHp97WBYe4oepD.yguWK5GGpyiyMZPHGeEfbqx8y119hYVYme"], ["created_at", "2018-11-17 21:31:21.746734"], ["updated_at", "2018-11-17 21:31:21.746734"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:31:21.764450"], ["updated_at", "2018-11-17 21:31:21.764450"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 29], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 56], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 56], ["room_id", 29], ["created_at", "2018-11-17 21:31:21.797642"], ["updated_at", "2018-11-17 21:31:21.797642"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$.J/PUUCjpAHYQVATxX44u.uRjcb3toaOgMfJDtFn3eSJz3Je/CATK"], ["created_at", "2018-11-17 21:31:21.966756"], ["updated_at", "2018-11-17 21:31:21.966756"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:31:21.970135"], ["updated_at", "2018-11-17 21:31:21.970135"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 30], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 57], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 57], ["room_id", 30], ["created_at", "2018-11-17 21:31:21.976684"], ["updated_at", "2018-11-17 21:31:21.976684"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 252.5ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$K/7WXMH/xTFuqAm5rZRmqeeyqf.HurLXLU4Cb4810sl2zkb7dZjfS"], ["created_at", "2018-11-17 21:31:22.395862"], ["updated_at", "2018-11-17 21:31:22.395862"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"58"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (1.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$CNbsap.SKz1MfM1oIJCiyul57T0TPcvUBBbC3tWCGdxQsM/uxChKG"], ["created_at", "2018-11-17 21:32:21.894379"], ["updated_at", "2018-11-17 21:32:21.894379"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Wo74Jk63DhHY5iWiZZpjHOt6rd5ypW2s7UIAE4/5geoZyCy.daGgW"], ["created_at", "2018-11-17 21:32:22.056168"], ["updated_at", "2018-11-17 21:32:22.056168"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:32:22.072360"], ["updated_at", "2018-11-17 21:32:22.072360"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 31], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 60], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 60], ["room_id", 31], ["created_at", "2018-11-17 21:32:22.103634"], ["updated_at", "2018-11-17 21:32:22.103634"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$jFqs/spmuV/ndzWTHc88p.WIuKo.nj15pN7Bfng7vW0bLHXEE2ioC"], ["created_at", "2018-11-17 21:32:22.269035"], ["updated_at", "2018-11-17 21:32:22.269035"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$b9kqPQDnt.lgJZ6SStJUMeH8w/ziF0rMMNjxFEn4UrZzenCLPHmdK"], ["created_at", "2018-11-17 21:32:22.507614"], ["updated_at", "2018-11-17 21:32:22.507614"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:32:22.511033"], ["updated_at", "2018-11-17 21:32:22.511033"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 32], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 62], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 62], ["room_id", 32], ["created_at", "2018-11-17 21:32:22.517989"], ["updated_at", "2018-11-17 21:32:22.517989"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 255.0ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$hLfRkqkw/ZakjfwD3OV2VeS.qKv.8th/MzRYznXT2SeZ4AGOeF/jG"], ["created_at", "2018-11-17 21:32:22.973362"], ["updated_at", "2018-11-17 21:32:22.973362"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"63"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$D3oJYVhvBOZCYY7xjXA3W.JM5SUTyyLbHJq16JQ78QkUj.O7.NPBK"], ["created_at", "2018-11-17 21:33:00.632260"], ["updated_at", "2018-11-17 21:33:00.632260"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$JUO6xe.FPVJ7Y3R44kTkm.duyrY438oWuOb1GS3q17wwprh.uRUDu"], ["created_at", "2018-11-17 21:33:00.801141"], ["updated_at", "2018-11-17 21:33:00.801141"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:33:00.834360"], ["updated_at", "2018-11-17 21:33:00.834360"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 33], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 65], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 65], ["room_id", 33], ["created_at", "2018-11-17 21:33:00.885641"], ["updated_at", "2018-11-17 21:33:00.885641"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TbPvwuUeZfW8qRrSQT2QMuY8.jY8XB7NG13n7g.sSXyHocD1Ab9l."], ["created_at", "2018-11-17 21:33:01.066597"], ["updated_at", "2018-11-17 21:33:01.066597"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uwzCDLDdO1zA1qhfdVhql.iAFCTocDNgN0NTtaw0FGQYeh.kY6tLK"], ["created_at", "2018-11-17 21:33:01.230387"], ["updated_at", "2018-11-17 21:33:01.230387"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:33:01.233704"], ["updated_at", "2018-11-17 21:33:01.233704"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 34], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 67], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 67], ["room_id", 34], ["created_at", "2018-11-17 21:33:01.240404"], ["updated_at", "2018-11-17 21:33:01.240404"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 261.6ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$1x1gqiF910IJYnxrvOYWF.QGFJckD29quT0PX5LNEQUJNiJzPU/sC"], ["created_at", "2018-11-17 21:33:01.678632"], ["updated_at", "2018-11-17 21:33:01.678632"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"68"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$412FjV4RByjlTZSMrEixfushLL8qzkNXaW3OouyF/xyoIIMpEFMvC"], ["created_at", "2018-11-17 21:33:17.958460"], ["updated_at", "2018-11-17 21:33:17.958460"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$WGhjHI2CP/jMXUwmd3rLweX2tsl66pv4Y/1tMEqk3mGPM0d6VjHlK"], ["created_at", "2018-11-17 21:33:18.123170"], ["updated_at", "2018-11-17 21:33:18.123170"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:33:18.144111"], ["updated_at", "2018-11-17 21:33:18.144111"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 35], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 70], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 70], ["room_id", 35], ["created_at", "2018-11-17 21:33:18.181076"], ["updated_at", "2018-11-17 21:33:18.181076"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$pxfKAxGuokwiyYxUifwLiu4p6c1hrp1EtF3Go/SPlzPUOEGAldAWi"], ["created_at", "2018-11-17 21:33:18.346681"], ["updated_at", "2018-11-17 21:33:18.346681"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$5MsrKHaTfPSjZVleYzadMeyKZW6xbsHox0j8VU3X71b4MkDo0kfrS"], ["created_at", "2018-11-17 21:33:18.509793"], ["updated_at", "2018-11-17 21:33:18.509793"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-17 21:33:18.513004"], ["updated_at", "2018-11-17 21:33:18.513004"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 36], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 72], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 72], ["room_id", 36], ["created_at", "2018-11-17 21:33:18.518707"], ["updated_at", "2018-11-17 21:33:18.518707"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 263.8ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$EewJnSahXwQXKJFd5EHzSOJ3Dh05NTlGrJFYZE1vhrsf3/PwtOCBG"], ["created_at", "2018-11-17 21:33:18.984671"], ["updated_at", "2018-11-17 21:33:18.984671"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"73"}

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$kK7pX2n4gbApRsqn.fS03.ira9r9ty.G8GnPhBJGvPXpg582Icdie"], ["created_at", "2018-11-18 02:34:51.697718"], ["updated_at", "2018-11-18 02:34:51.697718"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$r.f4WtZu7ByFzFWRErnf4O669aUiWSbaRXuOQ2SaoogbyvWpjlAWi"], ["created_at", "2018-11-18 02:34:51.860909"], ["updated_at", "2018-11-18 02:34:51.860909"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:34:51.891688"], ["updated_at", "2018-11-18 02:34:51.891688"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 37], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 75], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 75], ["room_id", 37], ["created_at", "2018-11-18 02:34:51.944292"], ["updated_at", "2018-11-18 02:34:51.944292"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$omVJYPojcFM4UAa8eA1YkO8Kftl5GDZuGuK8uyABUEiBQk7glumvu"], ["created_at", "2018-11-18 02:34:52.133646"], ["updated_at", "2018-11-18 02:34:52.133646"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$bHo4mqgPdtH3x3BwiT85E.kAocC2DfRxKiAGcKFZm.lCvKLHzR3tu"], ["created_at", "2018-11-18 02:34:52.299411"], ["updated_at", "2018-11-18 02:34:52.299411"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:34:52.302856"], ["updated_at", "2018-11-18 02:34:52.302856"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 38], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 77], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 77], ["room_id", 38], ["created_at", "2018-11-18 02:34:52.309436"], ["updated_at", "2018-11-18 02:34:52.309436"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.2ms)

UserMailer#status_notification: processed outbound mail in 253.1ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HE/C.EySQip8et6XlEJDZO7jezpM3wC/tOBUeZMKUTSOJX5qef1ni"], ["created_at", "2018-11-18 02:35:08.423539"], ["updated_at", "2018-11-18 02:35:08.423539"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$LMRASYeGqEPbLGKEUE4wG.rvDsHgOxC90eeBqOUM3egsp005xSutO"], ["created_at", "2018-11-18 02:35:08.586110"], ["updated_at", "2018-11-18 02:35:08.586110"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:35:08.604912"], ["updated_at", "2018-11-18 02:35:08.604912"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 39], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 79], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 79], ["room_id", 39], ["created_at", "2018-11-18 02:35:08.638791"], ["updated_at", "2018-11-18 02:35:08.638791"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$j9brDCJkg7Z9SEePVTl0j.a7VFkV8LzoAW2gvqG2f1oQta3/CzJd2"], ["created_at", "2018-11-18 02:35:08.805643"], ["updated_at", "2018-11-18 02:35:08.805643"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/hy1JqI96ftC6yCBF0qBmO7o.fJmyuIs8z9u.211kJ/cdPL2fU656"], ["created_at", "2018-11-18 02:35:08.969286"], ["updated_at", "2018-11-18 02:35:08.969286"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:35:08.972050"], ["updated_at", "2018-11-18 02:35:08.972050"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 40], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 81], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 81], ["room_id", 40], ["created_at", "2018-11-18 02:35:08.978508"], ["updated_at", "2018-11-18 02:35:08.978508"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 252.3ms

 (0.4ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xZc9YWey1PTUujOWAp7taOWoj1jjDUHlWqOnhjHZ5QxYpH8Z1Oc12"], ["created_at", "2018-11-18 02:35:31.002076"], ["updated_at", "2018-11-18 02:35:31.002076"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$2fHh0Iv.9exEcpKxHZFUqORQ73gcjWLRkTjLfXjd3lvchO87vW2eO"], ["created_at", "2018-11-18 02:35:31.165076"], ["updated_at", "2018-11-18 02:35:31.165076"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:35:31.183676"], ["updated_at", "2018-11-18 02:35:31.183676"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 41], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 83], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 83], ["room_id", 41], ["created_at", "2018-11-18 02:35:31.215986"], ["updated_at", "2018-11-18 02:35:31.215986"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$O9bVGG6ZVdYMF6qTNHKhlOMKGVPnLtIIEjlCApJRbQoszidMA6Gxu"], ["created_at", "2018-11-18 02:35:31.380380"], ["updated_at", "2018-11-18 02:35:31.380380"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$7qc50PiVhtQEczZ71EslMuZNE.QxgPgtShhb7lyZmYjqsL/AxPMjW"], ["created_at", "2018-11-18 02:35:31.542912"], ["updated_at", "2018-11-18 02:35:31.542912"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:35:31.545629"], ["updated_at", "2018-11-18 02:35:31.545629"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 42], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 85], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 85], ["room_id", 42], ["created_at", "2018-11-18 02:35:31.551452"], ["updated_at", "2018-11-18 02:35:31.551452"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.1ms)

UserMailer#status_notification: processed outbound mail in 253.5ms

 (0.2ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-18 00:36:12 -0200

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (8.2ms)

Completed 200 OK in 375ms (Views: 362.7ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-18 00:36:14 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (28.8ms)
Rendered users/sessions/new.html.erb within layouts/application (44.0ms)

Completed 200 OK in 159ms (Views: 100.1ms | ActiveRecord: 4.5ms)

Started POST “/login” for 127.0.0.1 at 2018-11-18 00:36:18 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"/KufOEwMf1gI/rnX3Sv3gooexgpsXwzJpRXY+7Fbo3rApSrTRdlJtHRiFaxYrmiIOBn/9BJ/hM2/MCBiCq79lA==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.3ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-18 02:36:18.915097"], ["last_sign_in_at", "2018-11-17 18:32:24.817303"], ["sign_in_count", 7], ["updated_at", "2018-11-18 02:36:18.916736"], ["id", 1]]
 (150.5ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 367ms (ActiveRecord: 153.5ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-18 00:36:19 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (11.5ms)
Rendered layouts/_header-admin.html.erb (6.5ms)

Completed 200 OK in 125ms (Views: 121.8ms | ActiveRecord: 0.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 00:36:20 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.9ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (85.7ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 166ms (Views: 132.2ms | ActiveRecord: 12.1ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 00:36:22 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.3ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 83ms (Views: 77.9ms | ActiveRecord: 1.0ms)

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$OQxhRqlvsYJvP69ZGdqqru0YKzUMnO8urt5afhWfZpoxzNFoenR.a"], ["created_at", "2018-11-18 02:37:01.322230"], ["updated_at", "2018-11-18 02:37:01.322230"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$APwEuZMLHN5VGPNkDT.OL.VpqhytggdJtDYA6u0BtMM8WFe.fs0jy"], ["created_at", "2018-11-18 02:37:01.488636"], ["updated_at", "2018-11-18 02:37:01.488636"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:37:01.504214"], ["updated_at", "2018-11-18 02:37:01.504214"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 43], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 87], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 87], ["room_id", 43], ["created_at", "2018-11-18 02:37:01.535743"], ["updated_at", "2018-11-18 02:37:01.535743"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$WZV/x2BxzAYzKAfs4eK0Zuq87asurCaQ2U0V1A/nm5YHNZRgFZtIa"], ["created_at", "2018-11-18 02:37:01.700737"], ["updated_at", "2018-11-18 02:37:01.700737"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$No0xhGTo.0fXBaB3xX46o.e.UtTonOKwde2pmiZJNsEkZUbM8UmW2"], ["created_at", "2018-11-18 02:37:01.865046"], ["updated_at", "2018-11-18 02:37:01.865046"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 02:37:01.867719"], ["updated_at", "2018-11-18 02:37:01.867719"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 44], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 89], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 89], ["room_id", 44], ["created_at", "2018-11-18 02:37:01.873794"], ["updated_at", "2018-11-18 02:37:01.873794"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 254.8ms

 (0.4ms)  ROLLBACK

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-18 00:49:00 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (7.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (5.4ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 98ms (Views: 70.2ms | ActiveRecord: 7.8ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-18 00:49:01 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (13.4ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 86ms (Views: 79.9ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-18 00:49:01 -0200 Processing by RoomsController#index as HTML

User Load (11.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (14.3ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 113ms (Views: 95.8ms | ActiveRecord: 11.7ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-18 00:54:35 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-12' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (29.0ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 86ms (Views: 78.7ms | ActiveRecord: 1.6ms)

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$9MxcH9zC7X.OZmW7YRba8uxGfuvPCU5DcQA21hb996dxrvgA0paRC"], ["created_at", "2018-11-18 13:12:12.682197"], ["updated_at", "2018-11-18 13:12:12.682197"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$QXkvE7ODx/PP5Ey6S8TnHO0A5h/PpncASD5FTbaOFmMi2d9zu9Y5S"], ["created_at", "2018-11-18 13:12:12.847026"], ["updated_at", "2018-11-18 13:12:12.847026"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:12:12.865253"], ["updated_at", "2018-11-18 13:12:12.865253"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 45], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 91], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 91], ["room_id", 45], ["created_at", "2018-11-18 13:12:12.900277"], ["updated_at", "2018-11-18 13:12:12.900277"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.03csIdjpmMFROaXBGlYEe2lFK9cGom4bm9T9q.V2xllviml/9Lr6"], ["created_at", "2018-11-18 13:12:13.094079"], ["updated_at", "2018-11-18 13:12:13.094079"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$7CKvLRCyjrXq2ugsFQhcxuHVy8VEYSWeyn26KxBGVGz8HMqOsbCg."], ["created_at", "2018-11-18 13:12:13.260646"], ["updated_at", "2018-11-18 13:12:13.260646"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:12:13.263945"], ["updated_at", "2018-11-18 13:12:13.263945"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 46], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 93], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 93], ["room_id", 46], ["created_at", "2018-11-18 13:12:13.270904"], ["updated_at", "2018-11-18 13:12:13.270904"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 251.3ms

 (0.3ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$/Sjn6YoYbOhYthPFrm1Jm.V3hNwSt37GjbD4sR9gxa2RO4AuyS5Be"], ["created_at", "2018-11-18 13:18:05.812815"], ["updated_at", "2018-11-18 13:18:05.812815"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$kVkCFYgEnaOAbFz6s41DrubSHVEjoT9eTw/jKdlTG/lZUJEfex58m"], ["created_at", "2018-11-18 13:18:05.973935"], ["updated_at", "2018-11-18 13:18:05.973935"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:18:05.995186"], ["updated_at", "2018-11-18 13:18:05.995186"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 47], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 95], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 95], ["room_id", 47], ["created_at", "2018-11-18 13:18:06.031983"], ["updated_at", "2018-11-18 13:18:06.031983"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$FbvkvufIrojgwA/ahjAeeeOHhZBfbVjtfW6RdvmteElDCyTCUUdPG"], ["created_at", "2018-11-18 13:18:06.200884"], ["updated_at", "2018-11-18 13:18:06.200884"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$PhzQE1DouqfqKOO8ZRuUP.pYTxvUKx4uBzaz3suS9gHiYKoFafNlq"], ["created_at", "2018-11-18 13:18:06.364697"], ["updated_at", "2018-11-18 13:18:06.364697"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:18:06.368298"], ["updated_at", "2018-11-18 13:18:06.368298"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 48], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 97], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 97], ["room_id", 48], ["created_at", "2018-11-18 13:18:06.375753"], ["updated_at", "2018-11-18 13:18:06.375753"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 248.6ms

 (0.5ms)  ROLLBACK

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 11:18:23 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (2.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (19.1ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 95ms (Views: 84.6ms | ActiveRecord: 4.1ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:18:25 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (1.8ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 78ms (Views: 73.9ms | ActiveRecord: 0.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-18 11:18:29 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (6.5ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 83ms (Views: 79.6ms | ActiveRecord: 0.4ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:18:32 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (2.1ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (6.8ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 82ms (Views: 74.0ms | ActiveRecord: 2.7ms)

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7OxinK.ED6Vhk3ur/ioyJumV4Bv/2Hhd1JlOQIv4xUrR22q1CPKV2"], ["created_at", "2018-11-18 13:18:44.353833"], ["updated_at", "2018-11-18 13:18:44.353833"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$4FwK35H2/saHKdZWecH0ceK8fGtea.BChPTsq8AhP/wgAE8XNtEpC"], ["created_at", "2018-11-18 13:18:44.517160"], ["updated_at", "2018-11-18 13:18:44.517160"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:18:44.535956"], ["updated_at", "2018-11-18 13:18:44.535956"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 49], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 99], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 99], ["room_id", 49], ["created_at", "2018-11-18 13:18:44.568386"], ["updated_at", "2018-11-18 13:18:44.568386"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sc2pgyDXdoiuQ7u0IBJkFOf9Cj47.moctcviU5G3I5m7j4cBUT6b."], ["created_at", "2018-11-18 13:18:44.733683"], ["updated_at", "2018-11-18 13:18:44.733683"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$dqJlsObjhG6ZTrPUap48QumSQUreZnFMVFN9r9jPc0xZ/wW0PmY8e"], ["created_at", "2018-11-18 13:18:44.900281"], ["updated_at", "2018-11-18 13:18:44.900281"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:18:44.903366"], ["updated_at", "2018-11-18 13:18:44.903366"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 50], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 101], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 101], ["room_id", 50], ["created_at", "2018-11-18 13:18:44.910131"], ["updated_at", "2018-11-18 13:18:44.910131"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 251.2ms

 (0.4ms)  ROLLBACK

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 11:19:49 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (69.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 136ms (Views: 119.6ms | ActiveRecord: 11.8ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:19:50 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (5.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 82ms (Views: 66.3ms | ActiveRecord: 5.4ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:20:02 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 72ms (Views: 65.8ms | ActiveRecord: 1.2ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:20:07 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 76ms (Views: 71.0ms | ActiveRecord: 1.2ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 11:20:08 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 59ms (Views: 54.7ms | ActiveRecord: 0.9ms)

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$qDINM.KUAq1.R0OCZRBQa..4eGMp/GzP3TAUHIC4yxrZ4DXADxzDG"], ["created_at", "2018-11-18 13:20:50.321091"], ["updated_at", "2018-11-18 13:20:50.321091"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Th9FclJo7XNcZkOBKEBgGu7sTzsdNJema/g/RtocLCPoKyzmzUhjm"], ["created_at", "2018-11-18 13:20:50.484129"], ["updated_at", "2018-11-18 13:20:50.484129"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:20:50.503328"], ["updated_at", "2018-11-18 13:20:50.503328"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 51], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 103], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 103], ["room_id", 51], ["created_at", "2018-11-18 13:20:50.536750"], ["updated_at", "2018-11-18 13:20:50.536750"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$0HFd24bYorFj66iHFMxfj.Dnrq7XkrfOxwajCAbiLT.7m8PSPoKRK"], ["created_at", "2018-11-18 13:20:50.702142"], ["updated_at", "2018-11-18 13:20:50.702142"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$m9cDV7ce/JNSil5S1WfXFeWEEoM1I8O0l0Ql4fb3.NlaI9tAH1sHa"], ["created_at", "2018-11-18 13:20:50.865911"], ["updated_at", "2018-11-18 13:20:50.865911"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:20:50.869857"], ["updated_at", "2018-11-18 13:20:50.869857"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 52], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 105], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 105], ["room_id", 52], ["created_at", "2018-11-18 13:20:50.877718"], ["updated_at", "2018-11-18 13:20:50.877718"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.4ms)

UserMailer#status_notification: processed outbound mail in 252.3ms

 (0.5ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$LTp2er4KDH09RVPI61Q9CeihQBAqKJxavs2TG3HCJSa9qiLJCtnZm"], ["created_at", "2018-11-18 13:21:31.738667"], ["updated_at", "2018-11-18 13:21:31.738667"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YymMLGA0vH5J09KKDRv3W.ZqOeaOqRPDbMF5GdSPxn1Rvf3/S/KVi"], ["created_at", "2018-11-18 13:21:31.902276"], ["updated_at", "2018-11-18 13:21:31.902276"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:21:31.944359"], ["updated_at", "2018-11-18 13:21:31.944359"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 53], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 107], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 107], ["room_id", 53], ["created_at", "2018-11-18 13:21:32.008195"], ["updated_at", "2018-11-18 13:21:32.008195"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HVvTVg234YpHzLSjvkX9vODjn3X.nIRE79ARhxqNr4mEbKDDRcqLO"], ["created_at", "2018-11-18 13:21:32.211963"], ["updated_at", "2018-11-18 13:21:32.211963"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$N1cVxqM4woYEltvOE4tT4eKQzmLp7ZTziYRJ/KQOi7Mp4FhC0bkVO"], ["created_at", "2018-11-18 13:21:32.376469"], ["updated_at", "2018-11-18 13:21:32.376469"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 13:21:32.379403"], ["updated_at", "2018-11-18 13:21:32.379403"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 54], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 109], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 109], ["room_id", 54], ["created_at", "2018-11-18 13:21:32.385762"], ["updated_at", "2018-11-18 13:21:32.385762"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.2ms)

UserMailer#status_notification: processed outbound mail in 250.4ms

 (0.4ms)  ROLLBACK
 (35.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (49.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (27.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$D/SVzBi6/F.wH/EFHiFkTeNfIy3doXOJR9KItVrDQxwJ67vevPW4q"], ["created_at", "2018-11-18 23:33:32.119739"], ["updated_at", "2018-11-18 23:33:32.119739"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$l/o94CE/b0InFoBP5C159OqJKQ0GoWllGRL8tlJcQZNgIFlVAEj6m"], ["created_at", "2018-11-18 23:33:32.360913"], ["updated_at", "2018-11-18 23:33:32.360913"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (38.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:33:32.375347"], ["updated_at", "2018-11-18 23:33:32.375347"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 55], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 111], ["LIMIT", 1]]
SQL (40.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 111], ["room_id", 55], ["created_at", "2018-11-18 23:33:32.508295"], ["updated_at", "2018-11-18 23:33:32.508295"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.6ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$XzVHMs9WY6iy2uBqOOQ/h.8GvdoFgYB47OnDMA/HMtGa7vbNS06Z6"], ["created_at", "2018-11-18 23:33:32.788625"], ["updated_at", "2018-11-18 23:33:32.788625"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$hlEks.yxBlvSdgirc94BuuKNLVS5hQ4KoMK2NphrH9xVPGFEssOdG"], ["created_at", "2018-11-18 23:33:33.042471"], ["updated_at", "2018-11-18 23:33:33.042471"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:33:33.045675"], ["updated_at", "2018-11-18 23:33:33.045675"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 56], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 113], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 113], ["room_id", 56], ["created_at", "2018-11-18 23:33:33.052073"], ["updated_at", "2018-11-18 23:33:33.052073"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 395.8ms

 (0.6ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$r98xEzHMHYTTT/kP8PWxxO1iuZ9Cs8F1SWFgIvbzxENcjznRvolJ6"], ["created_at", "2018-11-18 23:33:57.087293"], ["updated_at", "2018-11-18 23:33:57.087293"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$okETuGXhq8t88Ke8VZ8xvelb35R9xnRH2KXImJWF9aev/yvGS6ruO"], ["created_at", "2018-11-18 23:33:57.246937"], ["updated_at", "2018-11-18 23:33:57.246937"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:33:57.264745"], ["updated_at", "2018-11-18 23:33:57.264745"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 57], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 115], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 115], ["room_id", 57], ["created_at", "2018-11-18 23:33:57.296892"], ["updated_at", "2018-11-18 23:33:57.296892"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$UIRVKaK39KzQ7F2ft80bJuxrMYP0jih059POwQxMym0ESuyiOGLwS"], ["created_at", "2018-11-18 23:33:57.462083"], ["updated_at", "2018-11-18 23:33:57.462083"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$8UgRYWN6TMEQdA8lZ8pxg.yWukD3Jp7JLU8/Cce/CLLoJDxE8x1mO"], ["created_at", "2018-11-18 23:33:57.628406"], ["updated_at", "2018-11-18 23:33:57.628406"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:33:57.632326"], ["updated_at", "2018-11-18 23:33:57.632326"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 58], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 117], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 117], ["room_id", 58], ["created_at", "2018-11-18 23:33:57.639132"], ["updated_at", "2018-11-18 23:33:57.639132"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 254.3ms

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$qq5UG2dXFisF00zdrfOxGuxnSfLH02wNPv0OoRgwLS..vZLqXX9WG"], ["created_at", "2018-11-18 23:34:12.300932"], ["updated_at", "2018-11-18 23:34:12.300932"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$9JswEuftV8arEwpA6SLDCuXKt.VZsXU5J3Q9U3dxk26nzsz1YE8Ym"], ["created_at", "2018-11-18 23:34:12.464209"], ["updated_at", "2018-11-18 23:34:12.464209"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:34:12.481891"], ["updated_at", "2018-11-18 23:34:12.481891"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 59], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 119], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 119], ["room_id", 59], ["created_at", "2018-11-18 23:34:12.514971"], ["updated_at", "2018-11-18 23:34:12.514971"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$La4L3fwGQFDd.TkYbI7s8eTfn.bF5ocV9dWahnYO6YH8oQ4JDtByG"], ["created_at", "2018-11-18 23:34:12.679645"], ["updated_at", "2018-11-18 23:34:12.679645"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$mWkqeD065hjdDH5Zd0DqHO0OcIKaJ/ugCdb16vZZ0LjHi4ELbYmsu"], ["created_at", "2018-11-18 23:34:12.843396"], ["updated_at", "2018-11-18 23:34:12.843396"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:34:12.846133"], ["updated_at", "2018-11-18 23:34:12.846133"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 60], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 121], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 121], ["room_id", 60], ["created_at", "2018-11-18 23:34:12.852884"], ["updated_at", "2018-11-18 23:34:12.852884"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.2ms)

UserMailer#status_notification: processed outbound mail in 250.2ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$/XPjGjV22WGZMoIy8iSZ3.kRlaMsa7uRbdcrdsyJSVIfzyVgMcLvW"], ["created_at", "2018-11-18 23:34:29.473367"], ["updated_at", "2018-11-18 23:34:29.473367"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$fa8PdIhvUu22cgohAGkYdOGPwo/0f8e53HI5fMCKbvtSrBDp4IL4W"], ["created_at", "2018-11-18 23:34:29.639311"], ["updated_at", "2018-11-18 23:34:29.639311"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$LRNY2keosAfqkVuSJLmGWeokd8nJTuvgNPM1hSQq.o4mAmwWXmH3S"], ["created_at", "2018-11-18 23:34:29.803879"], ["updated_at", "2018-11-18 23:34:29.803879"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:34:29.823126"], ["updated_at", "2018-11-18 23:34:29.823126"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 61], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 124], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 124], ["room_id", 61], ["created_at", "2018-11-18 23:34:29.855621"], ["updated_at", "2018-11-18 23:34:29.855621"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 252.3ms

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$zweTW46OJbxZ5HJsQ6cY8.uQnY02DWVb8X4vSZZMJj2OjTEblBhaS"], ["created_at", "2018-11-18 23:34:42.542583"], ["updated_at", "2018-11-18 23:34:42.542583"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$MloCaYfeMzpjdf1wnTsHE.7jXJMWZB7fJBS4mzwvFwhHnnPGuNtZW"], ["created_at", "2018-11-18 23:34:42.709042"], ["updated_at", "2018-11-18 23:34:42.709042"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$IRI48c28ZOKx0uqCkIOYyu/rZ97srn3kNIS4T3bsOM2sjI19uPate"], ["created_at", "2018-11-18 23:34:42.874893"], ["updated_at", "2018-11-18 23:34:42.874893"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:34:42.891067"], ["updated_at", "2018-11-18 23:34:42.891067"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 62], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 127], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 127], ["room_id", 62], ["created_at", "2018-11-18 23:34:42.923079"], ["updated_at", "2018-11-18 23:34:42.923079"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 270.5ms

 (0.5ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.0ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$JNKInsOPst0esCZ1QdvkJ.m7w4JI3uQgCJzWeGi1uI.7pX735/Ihm"], ["created_at", "2018-11-18 23:40:57.407415"], ["updated_at", "2018-11-18 23:40:57.407415"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$9Bp4f1rGr6uYq1Hhjm7poOs8nshlS/PvOUa7uJvTbA6BCeRkB.Kky"], ["created_at", "2018-11-18 23:40:57.568463"], ["updated_at", "2018-11-18 23:40:57.568463"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:40:57.588105"], ["updated_at", "2018-11-18 23:40:57.588105"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 63], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 129], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 129], ["room_id", 63], ["created_at", "2018-11-18 23:40:57.618970"], ["updated_at", "2018-11-18 23:40:57.618970"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"id"=>"60"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 60], ["LIMIT", 1]]

Completed 400 Bad Request in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ur1dsxXhCdE/NrbP9h4fxOuFRXfAoxuBOHkOdN7F8eB8BG64/DC.."], ["created_at", "2018-11-18 23:40:57.791341"], ["updated_at", "2018-11-18 23:40:57.791341"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$W.e/uAipzJ.px9ahIFSmkOH6t7bNRfPwgA7cFcloAVt1ijyhsVdiq"], ["created_at", "2018-11-18 23:40:57.957319"], ["updated_at", "2018-11-18 23:40:57.957319"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:40:57.959799"], ["updated_at", "2018-11-18 23:40:57.959799"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 64], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 131], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 131], ["room_id", 64], ["created_at", "2018-11-18 23:40:57.964980"], ["updated_at", "2018-11-18 23:40:57.964980"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 256.8ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3TMMlpuOSIftiIXGLozhxuibrd.ggmHeX0ZDf3s.XZb7NNMthtA0W"], ["created_at", "2018-11-18 23:41:26.518065"], ["updated_at", "2018-11-18 23:41:26.518065"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$kOgk3aRK.3u4OHYiEQSVAuRU4xj3u4Mmn72mJP9ee0jE/kAocQE/m"], ["created_at", "2018-11-18 23:41:26.678741"], ["updated_at", "2018-11-18 23:41:26.678741"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:41:26.693881"], ["updated_at", "2018-11-18 23:41:26.693881"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 65], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 133], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 133], ["room_id", 65], ["created_at", "2018-11-18 23:41:26.728504"], ["updated_at", "2018-11-18 23:41:26.728504"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"id"=>"62"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 62], ["LIMIT", 1]]

Completed 400 Bad Request in 3ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dXZypjBIzcufV9d2f20eruBxunoW46fDFR8.y8K4u1UFho/VkUDmi"], ["created_at", "2018-11-18 23:41:26.906406"], ["updated_at", "2018-11-18 23:41:26.906406"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$aS5EluHPPqkiL5kwme8zdupW1Ycu242XC.sovz5iXg72t8EqJE1xi"], ["created_at", "2018-11-18 23:41:27.074654"], ["updated_at", "2018-11-18 23:41:27.074654"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:41:27.077824"], ["updated_at", "2018-11-18 23:41:27.077824"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 66], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 135], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 135], ["room_id", 66], ["created_at", "2018-11-18 23:41:27.084295"], ["updated_at", "2018-11-18 23:41:27.084295"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 248.6ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$hDeOTTlX3WMTXCDHFOagKuVqRqRJGwOGdbsw0s9Pna29Kez/LrDnW"], ["created_at", "2018-11-18 23:41:49.601125"], ["updated_at", "2018-11-18 23:41:49.601125"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$UqEsQ2E.LBmTs2vEiAZlWeDlQbC7BcFm1xNqdPBo.2KV4AcVINZUS"], ["created_at", "2018-11-18 23:41:49.766141"], ["updated_at", "2018-11-18 23:41:49.766141"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:41:49.787573"], ["updated_at", "2018-11-18 23:41:49.787573"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 67], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 137], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 137], ["room_id", 67], ["created_at", "2018-11-18 23:41:49.822102"], ["updated_at", "2018-11-18 23:41:49.822102"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"64", "id"=>"64"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 64], ["LIMIT", 1]]

Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.3ms)

 (1.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$V8UNNGXdRuD74Dq7W62LMeBp4nXXAKC1WEiBU5NtXuls4yFTzXZbe"], ["created_at", "2018-11-18 23:41:50.004231"], ["updated_at", "2018-11-18 23:41:50.004231"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$cXDajY5fv5mZzYfcTVzPmO/aQdKZW8feEBaY6zzTU7i2rUFoTkAI2"], ["created_at", "2018-11-18 23:41:50.169122"], ["updated_at", "2018-11-18 23:41:50.169122"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:41:50.176049"], ["updated_at", "2018-11-18 23:41:50.176049"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 68], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 139], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 139], ["room_id", 68], ["created_at", "2018-11-18 23:41:50.184169"], ["updated_at", "2018-11-18 23:41:50.184169"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 249.0ms

 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$kdfkuNG7DjFljRwFqnH3ZuJTo4gcN5auuDzx0iMVJJHj/3Asb586O"], ["created_at", "2018-11-18 23:42:55.172461"], ["updated_at", "2018-11-18 23:42:55.172461"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$RQIeoUXWoq6.n6CfbuQbVeznxf0H1YfUgjwHm1EyVZ6Vmzo43dTWW"], ["created_at", "2018-11-18 23:42:55.422086"], ["updated_at", "2018-11-18 23:42:55.422086"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:42:55.443701"], ["updated_at", "2018-11-18 23:42:55.443701"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 69], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 141], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 141], ["room_id", 69], ["created_at", "2018-11-18 23:42:55.480434"], ["updated_at", "2018-11-18 23:42:55.480434"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"66", "id"=>"66"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 66], ["LIMIT", 1]]

Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$SnjLy/.QiqzO.AK5JpAoTe1ghBbCHNPIO.rDhDzsTrlhYTcd68f6C"], ["created_at", "2018-11-18 23:42:55.664425"], ["updated_at", "2018-11-18 23:42:55.664425"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$3N3Z5SopS/vyriiD9RqQK.bj49zf0MZ1C5ch2bVdbFfqbOAkonEt."], ["created_at", "2018-11-18 23:42:55.829125"], ["updated_at", "2018-11-18 23:42:55.829125"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:42:55.833141"], ["updated_at", "2018-11-18 23:42:55.833141"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 70], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 143], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 143], ["room_id", 70], ["created_at", "2018-11-18 23:42:55.841827"], ["updated_at", "2018-11-18 23:42:55.841827"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 253.0ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$VWY11/DeaZguQpjKXue5YuvIz9tBh1V0ggf2QPZTW2NLwmujIQ7W2"], ["created_at", "2018-11-18 23:43:06.987935"], ["updated_at", "2018-11-18 23:43:06.987935"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$ULO3O9p0n1u4M.Mc.0/gX.TAAqQDeGQtiJhP//L6x/XLTXa1.qZ7y"], ["created_at", "2018-11-18 23:43:07.153062"], ["updated_at", "2018-11-18 23:43:07.153062"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:43:07.171117"], ["updated_at", "2018-11-18 23:43:07.171117"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 71], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 145], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 145], ["room_id", 71], ["created_at", "2018-11-18 23:43:07.202139"], ["updated_at", "2018-11-18 23:43:07.202139"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"68", "id"=>"68"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 68], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$y025dbGoq0wVdjNKPuksWuwrfqGHaHBPcQZzsxGfVd7SE000aP2n."], ["created_at", "2018-11-18 23:43:07.378912"], ["updated_at", "2018-11-18 23:43:07.378912"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$oS3VMOYKRT3cIO.HOvkO..gPbOjF2WwE5jDr32K1sd0lpCALVFkS2"], ["created_at", "2018-11-18 23:43:07.543618"], ["updated_at", "2018-11-18 23:43:07.543618"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:43:07.546546"], ["updated_at", "2018-11-18 23:43:07.546546"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 72], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 147], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 147], ["room_id", 72], ["created_at", "2018-11-18 23:43:07.553044"], ["updated_at", "2018-11-18 23:43:07.553044"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 254.0ms

 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7wk9jPnkbiGUgepj7IQZgO12EFwr3kDvl.6fasPmA9TMbwfgQ9Tle"], ["created_at", "2018-11-18 23:44:30.430750"], ["updated_at", "2018-11-18 23:44:30.430750"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$DC4ndaRmBUk4erzy4rdhLOUhXWlfhMlRtnizJhMGOIxdLX4m8HORi"], ["created_at", "2018-11-18 23:44:30.591066"], ["updated_at", "2018-11-18 23:44:30.591066"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:44:30.611980"], ["updated_at", "2018-11-18 23:44:30.611980"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 73], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 149], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 149], ["room_id", 73], ["created_at", "2018-11-18 23:44:30.643677"], ["updated_at", "2018-11-18 23:44:30.643677"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"70", "status"=>"2", "id"=>"70"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 70], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eBW5.nUA0KmmXaH2rTTCJ.Or.b2X7uy4jDc1OdQ3clS5fHv65oh2a"], ["created_at", "2018-11-18 23:44:30.822795"], ["updated_at", "2018-11-18 23:44:30.822795"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uMlEp7CRfHXbvPhpJ7BR4eY.0FTudnpZXANKuuq9g/NHY9wPGTigy"], ["created_at", "2018-11-18 23:44:30.988061"], ["updated_at", "2018-11-18 23:44:30.988061"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:44:30.991711"], ["updated_at", "2018-11-18 23:44:30.991711"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (1.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 74], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 151], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 151], ["room_id", 74], ["created_at", "2018-11-18 23:44:31.000345"], ["updated_at", "2018-11-18 23:44:31.000345"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 251.1ms

 (0.2ms)  ROLLBACK
 (1.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$VlVVdlxXOSmuPc/a90xscu43fQzvB.13QXj58fY/lSNmLZE6rI95m"], ["created_at", "2018-11-18 23:44:53.160184"], ["updated_at", "2018-11-18 23:44:53.160184"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uiTb/KCduOF9Pe3TGlg9oeAV8Ui5rXYEDo2.1sbgYPFGCGDbwb5Ra"], ["created_at", "2018-11-18 23:44:53.322642"], ["updated_at", "2018-11-18 23:44:53.322642"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:44:53.338755"], ["updated_at", "2018-11-18 23:44:53.338755"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 75], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 153], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 153], ["room_id", 75], ["created_at", "2018-11-18 23:44:53.371934"], ["updated_at", "2018-11-18 23:44:53.371934"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"72", "status"=>"2", "id"=>"72"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 72], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$WRH/BxoWxQw4lYiEAJ9ce.bQMEUPdE73fUGY/nyL8Vhs1bYU7642W"], ["created_at", "2018-11-18 23:44:53.547490"], ["updated_at", "2018-11-18 23:44:53.547490"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$SVHiaf5Iaoql.kZcW0AyZO4tOL2y8S7aXr42ySEDmDXc7p8Hfmo2i"], ["created_at", "2018-11-18 23:44:53.712506"], ["updated_at", "2018-11-18 23:44:53.712506"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:44:53.714994"], ["updated_at", "2018-11-18 23:44:53.714994"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 76], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 155], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 155], ["room_id", 76], ["created_at", "2018-11-18 23:44:53.719790"], ["updated_at", "2018-11-18 23:44:53.719790"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 272.0ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$nxQVOKuqa49Am5jCnOOLGu3Hbg2LZ4GFPFd1fcOV6QY4D.dZ280by"], ["created_at", "2018-11-18 23:51:42.640568"], ["updated_at", "2018-11-18 23:51:42.640568"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$MSRfOByph44Or/0v0ulXPO//RKqzLU1jJuneQc24kbB8PV40ZTyXC"], ["created_at", "2018-11-18 23:51:42.801710"], ["updated_at", "2018-11-18 23:51:42.801710"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:51:42.839599"], ["updated_at", "2018-11-18 23:51:42.839599"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 77], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 157], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 157], ["room_id", 77], ["created_at", "2018-11-18 23:51:42.904256"], ["updated_at", "2018-11-18 23:51:42.904256"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"74", "status"=>"2", "id"=>"74"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 74], ["LIMIT", 1]]

Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.6ms)

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$oFFOo4LF4SlsEyE9.CeujekiFSKqrZ6.MTXHWSgfwF9kZpKyElITK"], ["created_at", "2018-11-18 23:51:43.103612"], ["updated_at", "2018-11-18 23:51:43.103612"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$iyYd3saFQa2i4bcfDs92IeRG3K58chH7DGPJ7M9LDeEOTDUbuk8gq"], ["created_at", "2018-11-18 23:51:43.267245"], ["updated_at", "2018-11-18 23:51:43.267245"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:51:43.270141"], ["updated_at", "2018-11-18 23:51:43.270141"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 78], ["LIMIT", 1]]
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 159], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 159], ["room_id", 78], ["created_at", "2018-11-18 23:51:43.277375"], ["updated_at", "2018-11-18 23:51:43.277375"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 259.7ms

 (0.3ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$QKMLgPJIAfiiSiFZYcYLHesXp/2RZzA/tWTFcPt4DC236GqZOjPOG"], ["created_at", "2018-11-18 23:52:14.727200"], ["updated_at", "2018-11-18 23:52:14.727200"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$XfWB9kumGAr1vuME7vW0ReB.7iSjzyw/07s0NzGVYwGWWh/nvXkEa"], ["created_at", "2018-11-18 23:52:14.889770"], ["updated_at", "2018-11-18 23:52:14.889770"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:52:14.907953"], ["updated_at", "2018-11-18 23:52:14.907953"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 79], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 161], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 161], ["room_id", 79], ["created_at", "2018-11-18 23:52:14.939421"], ["updated_at", "2018-11-18 23:52:14.939421"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"76", "status"=>"2", "status_old"=>"1", "id"=>"76"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 76], ["LIMIT", 1]]

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$oTe6XnmUI5DsobYivmGwLO8Q9d1JQmOpk5V8qMjcJfQ/lbIXAD0wa"], ["created_at", "2018-11-18 23:52:15.117302"], ["updated_at", "2018-11-18 23:52:15.117302"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$QGbHmgTdQmHstKj/nQ9LYOwKq7/9wjKwQ/4fLiy5tyR/pZF4AULqu"], ["created_at", "2018-11-18 23:52:15.282779"], ["updated_at", "2018-11-18 23:52:15.282779"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:52:15.285739"], ["updated_at", "2018-11-18 23:52:15.285739"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 80], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 163], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 163], ["room_id", 80], ["created_at", "2018-11-18 23:52:15.292634"], ["updated_at", "2018-11-18 23:52:15.292634"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 253.2ms

 (0.2ms)  ROLLBACK
 (0.5ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$NFO/cKc.dJDrUxdEltEhe.JbOQQL9ZYsuds0OrUMqmQ3bD3I1pGQS"], ["created_at", "2018-11-18 23:52:29.781887"], ["updated_at", "2018-11-18 23:52:29.781887"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$zdPWVtUgCUI.EUFKSFt5kO5KXa2tSXf3dVpuTJBcVUzUZJu7gHKH2"], ["created_at", "2018-11-18 23:52:29.943685"], ["updated_at", "2018-11-18 23:52:29.943685"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:52:29.961814"], ["updated_at", "2018-11-18 23:52:29.961814"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 81], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 165], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 165], ["room_id", 81], ["created_at", "2018-11-18 23:52:29.995784"], ["updated_at", "2018-11-18 23:52:29.995784"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"78", "status"=>"2", "status_old"=>"1", "id"=>"78"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 78], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$wz9j6SHNELn0iT9XK7T6UOayRSK/E/EIwF8l6s8QTbhu7su/kL2Pm"], ["created_at", "2018-11-18 23:52:30.173762"], ["updated_at", "2018-11-18 23:52:30.173762"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Rz0QuLm4JQtXvk7faw0XC.pvO0RpInd9sz2D7TbBHNI7Ba5WBQmPu"], ["created_at", "2018-11-18 23:52:30.338431"], ["updated_at", "2018-11-18 23:52:30.338431"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-18 23:52:30.341853"], ["updated_at", "2018-11-18 23:52:30.341853"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 82], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 167], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 167], ["room_id", 82], ["created_at", "2018-11-18 23:52:30.350338"], ["updated_at", "2018-11-18 23:52:30.350338"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 252.5ms

 (0.4ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-18 21:56:52 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-18 21:56:55 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (2.2ms)

Completed 200 OK in 2965ms (Views: 2956.2ms | ActiveRecord: 0.0ms)

Completed 200 OK in 130ms (Views: 127.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-18 21:56:57 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (42.1ms)
Rendered users/sessions/new.html.erb within layouts/application (153.1ms)

Completed 200 OK in 309ms (Views: 271.5ms | ActiveRecord: 4.4ms)

Started POST “/login” for 127.0.0.1 at 2018-11-18 21:57:02 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"9mPg/GceWtHRj5alF7RRlUevCO4CjVUBe+1Mjf78xkff6RzqZAKNPTOfmViLJUpfvf7RBY/mVlDr9hGrT5owEA==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-18 23:57:02.690915"], ["last_sign_in_at", "2018-11-18 02:36:18.915097"], ["sign_in_count", 8], ["updated_at", "2018-11-18 23:57:02.692260"], ["id", 1]]
 (144.0ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 340ms (ActiveRecord: 145.9ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-18 21:57:03 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.5ms)
Rendered layouts/_header-admin.html.erb (30.4ms)

Completed 200 OK in 105ms (Views: 100.3ms | ActiveRecord: 0.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:57:05 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (105.9ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 304ms (Views: 171.2ms | ActiveRecord: 16.9ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 21:57:07 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (28.6ms)
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 128ms (Views: 113.9ms | ActiveRecord: 1.3ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 21:57:09 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"HpWOmkItuPRHYtrlK1ZcvuR/SIMe/+sWsM+7FnzKKVZYGQUshr8xuaJCyPjLHLeWXqCThMJLCokpiECSAKzk3w==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-18 23:57:09.698374"], ["id", 3]]
 (61.8ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 248.0ms Sent mail to andre_luisferreira@hotmail.com (8328.8ms) Date: Sun, 18 Nov 2018 21:57:10 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf1fc56b510a_226b1f70bec4867c@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf1fc563a5f_226b1f70bec48543";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf1fc563a5f_226b1f70bec48543 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf1fc563a5f_226b1f70bec48543 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf1fc563a5f_226b1f70bec48543–

Completed 302 Found in 8658ms (ActiveRecord: 63.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:57:18 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.1ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (21.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.4ms)

Completed 200 OK in 101ms (Views: 94.7ms | ActiveRecord: 2.8ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 21:57:22 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 49ms (Views: 44.7ms | ActiveRecord: 1.2ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 21:57:28 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (7.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 74ms (Views: 69.6ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-18 21:57:30 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pAbpXXZqL/twR3dP8rG/IbWjPhZsNq5v2Q4E9JNzkfdjvEq5GlVW30CeAa579FilS8DtKyae0iSbXwZzhRulqQ==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 10ms (ActiveRecord: 1.6ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:57:30 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.6ms)

Completed 200 OK in 57ms (Views: 54.0ms | ActiveRecord: 1.6ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 21:57:31 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 75ms (Views: 69.7ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-18 21:57:38 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"bUu6LtysGtKS21KsX+zrhgXPAy2xfIrHNp0OIqlGagSq8RnKsJNj9qICJE3WqQwC+6zQEPvU9ox0zAylvy5eWg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-18 23:57:38.723334"], ["id", 1]]
 (127.5ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 16.4ms Sent mail to andre_luisferreira@hotmail.com (3175.1ms) Date: Sun, 18 Nov 2018 21:57:38 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf1fc72d53ab_226b1f70b3848899@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf1fc72d433e_226b1f70b384874b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf1fc72d433e_226b1f70b384874b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf1fc72d433e_226b1f70b384874b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf1fc72d433e_226b1f70b384874b–

Completed 302 Found in 3339ms (ActiveRecord: 129.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:57:42 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (7.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 55ms (Views: 50.4ms | ActiveRecord: 1.3ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 21:57:45 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (2.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 67ms (Views: 63.5ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 21:57:53 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"CbRCQJMKz2KySixwTBHsmmQcKP+WXY2/Xol5Tj5oLl1POMn2V5hGL1dqPm2sWwey3sPz+ErpbCDHzoLKQg7j1A==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.2ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 10ms (ActiveRecord: 1.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:57:53 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (18.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 81ms (Views: 78.1ms | ActiveRecord: 1.8ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 21:58:29 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 71ms (Views: 66.4ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 21:58:30 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G9cbfIK3OWlufUw+Mh/PAq94QQWKq7/+Z7WC5Q8U3qBdW5DKRiWwJItdXiPSVSQqFaeaAlYfXmH+8nlhc3ITKQ==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-18 23:58:30.954257"], ["id", 3]]
 (122.2ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.9ms)

UserMailer#status_notification: processed outbound mail in 13.7ms Sent mail to andre_luisferreira@hotmail.com (3198.1ms) Date: Sun, 18 Nov 2018 21:58:31 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf1fca717246_226b1f70994490d7@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf1fca716250_226b1f70994489ed";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf1fca716250_226b1f70994489ed Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf1fca716250_226b1f70994489ed Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf1fca716250_226b1f70994489ed–

Completed 302 Found in 3349ms (ActiveRecord: 123.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 21:58:34 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 71ms (Views: 67.3ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 21:58:35 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.7ms)

Completed 200 OK in 74ms (Views: 69.3ms | ActiveRecord: 1.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:00:51 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (65.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 127ms (Views: 110.7ms | ActiveRecord: 12.0ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 22:01:02 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]

Completed 500 Internal Server Error in 213ms (ActiveRecord: 0.3ms)

NameError (undefined local variable or method `appointment' for #<AppointmentsController:0x007fe7315ac718> Did you mean? @appointment):

app/controllers/appointments_controller.rb:46:in `edit' Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:01:16 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (80.2ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 178ms (Views: 162.8ms | ActiveRecord: 11.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:01:18 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.9ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.0ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 62ms (Views: 58.0ms | ActiveRecord: 2.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 22:01:19 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.6ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 72ms (Views: 60.5ms | ActiveRecord: 0.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:01:38 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (78.0ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 158ms (Views: 143.0ms | ActiveRecord: 11.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:01:40 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 77ms (Views: 74.0ms | ActiveRecord: 1.4ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-18 22:01:41 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.3ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 79ms (Views: 71.7ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-18 22:01:46 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"hrE6r38ic+Ic25U+2uIoTDCG9cCkO5yHAW03uS1s5WRBC5lLEx0KxiwC499Tp8/IzuUm/e6T4MxDPDU+OwTROg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (2.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.8ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-19 00:01:46.267006"], ["id", 1]]
 (62.4ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.8ms)

UserMailer#status_notification: processed outbound mail in 18.8ms Sent mail to andre_luisferreira@hotmail.com (3237.3ms) Date: Sun, 18 Nov 2018 22:01:46 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf1fd6a58e9c_226b1f70b38492c0@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf1fd6a57527_226b1f70b384911f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf1fd6a57527_226b1f70b384911f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf1fd6a57527_226b1f70b384911f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf1fd6a57527_226b1f70b384911f–

Completed 302 Found in 3349ms (ActiveRecord: 66.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:01:49 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.4ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 90ms (Views: 84.3ms | ActiveRecord: 1.4ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 22:02:06 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (1.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.7ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 76ms (Views: 68.1ms | ActiveRecord: 2.3ms)

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$BK5llZG4FJNCgGY8ZYkgDOrxEKoy9U4NrKd2l2HWTcnPk6cF8DOLO"], ["created_at", "2018-11-19 00:03:17.697359"], ["updated_at", "2018-11-19 00:03:17.697359"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$GecdNvzbLSsSv7yZ1JL/JulM/bOAPMoXWjSbDKF0JRCqY6/1APj0y"], ["created_at", "2018-11-19 00:03:17.857813"], ["updated_at", "2018-11-19 00:03:17.857813"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:03:17.875636"], ["updated_at", "2018-11-19 00:03:17.875636"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 83], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 169], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 169], ["room_id", 83], ["created_at", "2018-11-19 00:03:17.913432"], ["updated_at", "2018-11-19 00:03:17.913432"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"80", "status_old"=>"1", "id"=>"80"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 80], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$d3dM96SerDqxsKsm08uf/.QOdO2Nbgxbo5.1c72gWRnsVtpCHoHW6"], ["created_at", "2018-11-19 00:03:18.095216"], ["updated_at", "2018-11-19 00:03:18.095216"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YRu8tr7JuREmXe2yIJbl7utVqsNM6HTSpwP.1EI1FpRTQm98FcgtG"], ["created_at", "2018-11-19 00:03:18.259272"], ["updated_at", "2018-11-19 00:03:18.259272"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:03:18.262780"], ["updated_at", "2018-11-19 00:03:18.262780"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 84], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 171], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 171], ["room_id", 84], ["created_at", "2018-11-19 00:03:18.270727"], ["updated_at", "2018-11-19 00:03:18.270727"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 266.9ms

 (0.4ms)  ROLLBACK
 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$SJh9Rs00193K.M5UJfOfDOTe4CtvAivKyhlrhhFmYaCGnvUhCryJW"], ["created_at", "2018-11-19 00:03:40.319859"], ["updated_at", "2018-11-19 00:03:40.319859"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$k2ILbaNnKWTR8xMOwV6/9.G71VpwSOzvGPwnsDCiMpvizmYyOkZt."], ["created_at", "2018-11-19 00:03:40.481049"], ["updated_at", "2018-11-19 00:03:40.481049"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:03:40.498270"], ["updated_at", "2018-11-19 00:03:40.498270"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 85], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 173], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 173], ["room_id", 85], ["created_at", "2018-11-19 00:03:40.529757"], ["updated_at", "2018-11-19 00:03:40.529757"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"82", "status_old"=>"1", "id"=>"82"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 82], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 173], ["LIMIT", 1]]
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 85], ["LIMIT", 1]]
Rendered user_mailer/status_notification.html.erb within layouts/mailer (3.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 261.8ms Sent mail to 123@123.com (3145.4ms) Date: Sun, 18 Nov 2018 22:03:40 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf1fddcc6946_75db6a10d026149@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf1fddcc4e81_75db6a10d02608e";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf1fddcc4e81_75db6a10d02608e Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf1fddcc4e81_75db6a10d02608e Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf1fddcc4e81_75db6a10d02608e–

No template found for AppointmentsController#update, rendering head :no_content Completed 204 No Content in 3478ms (ActiveRecord: 0.9ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$iK6UKvVRq3GvjgkaggIvuuMNHHqtZWwC38A0kY1EMdUPcIXH65sgq"], ["created_at", "2018-11-19 00:03:44.196949"], ["updated_at", "2018-11-19 00:03:44.196949"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$14/PRcl2AI09ifcn9RD4K.aCZrfsgQF17FsBEIyQQ.EHr5a1fOEja"], ["created_at", "2018-11-19 00:03:44.356646"], ["updated_at", "2018-11-19 00:03:44.356646"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:03:44.359161"], ["updated_at", "2018-11-19 00:03:44.359161"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 86], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 175], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 175], ["room_id", 86], ["created_at", "2018-11-19 00:03:44.364067"], ["updated_at", "2018-11-19 00:03:44.364067"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$W3IMcitt3akdD1eHA9PxB.D5K.CQbDsLffbc4ssryR1n2t/wgVWle"], ["created_at", "2018-11-19 00:46:10.232637"], ["updated_at", "2018-11-19 00:46:10.232637"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$JEidUzEc04nW6obtFWLv.eD0.NxzU/veaB49C.db4OFONhPAA49cG"], ["created_at", "2018-11-19 00:46:10.393879"], ["updated_at", "2018-11-19 00:46:10.393879"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:10.410625"], ["updated_at", "2018-11-19 00:46:10.410625"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 87], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 177], ["room_id", 87], ["created_at", "2018-11-19 00:46:10.446491"], ["updated_at", "2018-11-19 00:46:10.446491"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"84", "status_old"=>"1", "id"=>"84"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 84], ["LIMIT", 1]]

Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xjK3.veVqLiEKxqTbWmVi..L.eYoDEJSfvPxEKLzYmmpNCYu1LRKq"], ["created_at", "2018-11-19 00:46:10.641044"], ["updated_at", "2018-11-19 00:46:10.641044"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$dJVvv1EVvtCBzwlwvT8P8udCnykvHlYCj0DvRtCOeivuAXuoTa6va"], ["created_at", "2018-11-19 00:46:10.821788"], ["updated_at", "2018-11-19 00:46:10.821788"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:10.825821"], ["updated_at", "2018-11-19 00:46:10.825821"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 88], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 179], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 179], ["room_id", 88], ["created_at", "2018-11-19 00:46:10.833156"], ["updated_at", "2018-11-19 00:46:10.833156"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 247.5ms

 (0.4ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$kPA8PC7dPS39HfEU4MwaS.BiZZ3U36tBRh94X7.6D3Ogc95UxvOQ2"], ["created_at", "2018-11-19 00:46:28.077350"], ["updated_at", "2018-11-19 00:46:28.077350"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$c2TQkSV5b/QSoqTw1U3m3O4srR9fTel2Vo6zG/MCyqTcgGHdqD.rq"], ["created_at", "2018-11-19 00:46:28.240113"], ["updated_at", "2018-11-19 00:46:28.240113"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:28.256981"], ["updated_at", "2018-11-19 00:46:28.256981"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 89], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 181], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 181], ["room_id", 89], ["created_at", "2018-11-19 00:46:28.289430"], ["updated_at", "2018-11-19 00:46:28.289430"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"86", "status_old"=>"1", "id"=>"86"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 86], ["LIMIT", 1]]

Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$O1ejA4Y92vQySOXtsx9Gt.WMuapFw.WomOlp5PmUo0iU5YbYiF/wa"], ["created_at", "2018-11-19 00:46:28.467214"], ["updated_at", "2018-11-19 00:46:28.467214"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$mLfGBa43dsAMoZAkCf5vAuUyTmFk.YzUnle4Wo5oIaGZ0FzO3h6b."], ["created_at", "2018-11-19 00:46:28.640872"], ["updated_at", "2018-11-19 00:46:28.640872"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:28.644517"], ["updated_at", "2018-11-19 00:46:28.644517"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 90], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 183], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 183], ["room_id", 90], ["created_at", "2018-11-19 00:46:28.652380"], ["updated_at", "2018-11-19 00:46:28.652380"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.7ms)

UserMailer#status_notification: processed outbound mail in 270.3ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$..WRRcspMljE58W/LkuFiO9moKavo4n9fK2Wo0EU/cn3Bxf5gQHZG"], ["created_at", "2018-11-19 00:46:52.932626"], ["updated_at", "2018-11-19 00:46:52.932626"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$1BEzhu1Zp0qKfhm/3L/ZMOlsJnKVXS.97c2M5.m5Gf.Xr.w5O9DYK"], ["created_at", "2018-11-19 00:46:53.093794"], ["updated_at", "2018-11-19 00:46:53.093794"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:53.109105"], ["updated_at", "2018-11-19 00:46:53.109105"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 91], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 185], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 185], ["room_id", 91], ["created_at", "2018-11-19 00:46:53.140995"], ["updated_at", "2018-11-19 00:46:53.140995"]]
 (0.6ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"88", "status_old"=>"1", "id"=>"88"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 88], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$u9EQ7RI8fEvBPF5tOM.SN.OnvXGtUaKlqdQtu1kSn9RCkPibHh4vW"], ["created_at", "2018-11-19 00:46:53.317851"], ["updated_at", "2018-11-19 00:46:53.317851"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$cPfEzYd4kRwgNvFoipLGGekML1gJXD6Zf467iN9gicb/iWG.1NWtW"], ["created_at", "2018-11-19 00:46:53.482557"], ["updated_at", "2018-11-19 00:46:53.482557"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:46:53.485327"], ["updated_at", "2018-11-19 00:46:53.485327"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 92], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 187], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 187], ["room_id", 92], ["created_at", "2018-11-19 00:46:53.492440"], ["updated_at", "2018-11-19 00:46:53.492440"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 251.3ms

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$DzVB5ZPPOhq1gEF2TO10GeOZZ5S.LEtly4c4b.JiTB4WA1iXrGDAq"], ["created_at", "2018-11-19 00:47:14.648909"], ["updated_at", "2018-11-19 00:47:14.648909"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$TrKScDBc8k2Mjs813UD0kuURgJK91UeSel.Xl95av/Md4b0GizEPm"], ["created_at", "2018-11-19 00:47:14.812291"], ["updated_at", "2018-11-19 00:47:14.812291"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:47:14.831881"], ["updated_at", "2018-11-19 00:47:14.831881"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 93], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 189], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 189], ["room_id", 93], ["created_at", "2018-11-19 00:47:14.864887"], ["updated_at", "2018-11-19 00:47:14.864887"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"90", "status_old"=>"1", "id"=>"90"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 90], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$m7et5jV8eg5I.wtTZKVkTupqaCsQVZfQJefK/8nteuhipQrySwbuC"], ["created_at", "2018-11-19 00:47:15.039859"], ["updated_at", "2018-11-19 00:47:15.039859"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$4ROGdvBR/2zeM1hp9h9Cn.rDZlunSaIiPH5zvd1bIjwsOwLfPvCYu"], ["created_at", "2018-11-19 00:47:15.203971"], ["updated_at", "2018-11-19 00:47:15.203971"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:47:15.206819"], ["updated_at", "2018-11-19 00:47:15.206819"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 94], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 191], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 191], ["room_id", 94], ["created_at", "2018-11-19 00:47:15.213121"], ["updated_at", "2018-11-19 00:47:15.213121"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 264.0ms

 (0.3ms)  ROLLBACK

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:47:31 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (81.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 377ms (Views: 350.5ms | ActiveRecord: 12.0ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 22:47:32 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (21.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 84ms (Views: 78.4ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 22:47:35 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"V2fYrYpXVZQ6WSGY+g4To2+spuAC0WB3nq+bWYIEmfUR61MbTsXc2d95M4UaRPiL1XN9595lgegH6GDd/mJUfA==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.5ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 15ms (ActiveRecord: 2.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:47:35 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 73ms (Views: 68.4ms | ActiveRecord: 1.9ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 22:47:57 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (1.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.8ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 139ms (Views: 133.4ms | ActiveRecord: 1.5ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 22:47:59 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"dhXrUYhicRMwsj6Nqb4Axcwenk2iSN6jVFSmNRT0MkAwmWDnTPD4XtWSLJBJ9OvtdsFFSn78PzzNE12xaJL/yQ==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-19 00:47:59.694878"], ["id", 3]]
 (69.1ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 315.2ms Sent mail to andre_luisferreira@hotmail.com (3278.2ms) Date: Sun, 18 Nov 2018 22:48:00 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf20840173e6_7e991b6bab082345@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf2084015918_7e991b6bab0822c8";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf2084015918_7e991b6bab0822c8 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf2084015918_7e991b6bab0822c8 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf2084015918_7e991b6bab0822c8–

Completed 302 Found in 3686ms (ActiveRecord: 71.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:48:03 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (17.0ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 92ms (Views: 86.2ms | ActiveRecord: 2.5ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 22:48:05 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.1ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 104ms (Views: 97.5ms | ActiveRecord: 1.2ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 22:48:07 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N67yNNzr5HWDgjesKuF3JDYmz+94Idi5BhRrQa2HtaNxInmCGHltOGaiJbHKq5wMjPkU6KSVOSafU5DF0eF4Kg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (1.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.5ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 16ms (ActiveRecord: 2.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 22:48:07 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.7ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 54ms (Views: 51.2ms | ActiveRecord: 1.5ms)

 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Xxsar1Cq1x2vwHFzM3cc9O9ys1iO8MiVmrxPtxRrYogSMgTYg4uXe"], ["created_at", "2018-11-19 00:48:31.515808"], ["updated_at", "2018-11-19 00:48:31.515808"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$nOqDBT8U5DybRxmv/XJcOutUFhHpuGoruqHZzxMxj2AxLyGlWYx5C"], ["created_at", "2018-11-19 00:48:31.679962"], ["updated_at", "2018-11-19 00:48:31.679962"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:48:31.696824"], ["updated_at", "2018-11-19 00:48:31.696824"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 95], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 193], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 193], ["room_id", 95], ["created_at", "2018-11-19 00:48:31.729208"], ["updated_at", "2018-11-19 00:48:31.729208"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"92", "status_old"=>"1", "id"=>"92"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 92], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$spb105SA0XtjAUAB73EzYuwX.7OdZm05OvZP/XSSNSxr/pZ3Dmeji"], ["created_at", "2018-11-19 00:48:31.912925"], ["updated_at", "2018-11-19 00:48:31.912925"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$QO336L8TtadN5wQ7OwLIAeCAbWuBbRgo0Hsu.I.uFOB/GyyT.Q0ci"], ["created_at", "2018-11-19 00:48:32.098110"], ["updated_at", "2018-11-19 00:48:32.098110"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:48:32.101556"], ["updated_at", "2018-11-19 00:48:32.101556"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 96], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 195], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 195], ["room_id", 96], ["created_at", "2018-11-19 00:48:32.109007"], ["updated_at", "2018-11-19 00:48:32.109007"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 259.4ms

 (0.3ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$5MuAZQfiLkfJzS1LZb.2M.B0PdVk3wGbmLPi7pAQjQjhu1X9aqtZ."], ["created_at", "2018-11-19 00:49:30.212819"], ["updated_at", "2018-11-19 00:49:30.212819"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$cARG8ikFYDlQUVtYmTHboeGUdgPVto0UosCpk360954LO.iQLLNe."], ["created_at", "2018-11-19 00:49:30.377205"], ["updated_at", "2018-11-19 00:49:30.377205"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:49:30.393941"], ["updated_at", "2018-11-19 00:49:30.393941"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 97], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 197], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 197], ["room_id", 97], ["created_at", "2018-11-19 00:49:30.425911"], ["updated_at", "2018-11-19 00:49:30.425911"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$lFEjUoSjp/WPofzaIvxt9.ToAbwL6pX6rEE88pbDNAcw4JFh/6Y/q"], ["created_at", "2018-11-19 00:49:30.596968"], ["updated_at", "2018-11-19 00:49:30.596968"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$jbhvBmvjThotjIdS6dPMc.pFXCgPyVMFfYQutqQTWYR76gPkjlVoS"], ["created_at", "2018-11-19 00:49:30.762834"], ["updated_at", "2018-11-19 00:49:30.762834"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:49:30.765562"], ["updated_at", "2018-11-19 00:49:30.765562"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 98], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 199], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 199], ["room_id", 98], ["created_at", "2018-11-19 00:49:30.772002"], ["updated_at", "2018-11-19 00:49:30.772002"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 261.3ms

 (0.3ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$lJdaYFGOfpgwULDNPstflO/O4m/DJv1/Q3wc7RmFbVNDijNdyZBxy"], ["created_at", "2018-11-19 00:49:56.395129"], ["updated_at", "2018-11-19 00:49:56.395129"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$t2BgyCz1yywzqo5K0nlKAuN5y9wx0WsEsUdTCEqdVqJ7pb3OeQR0q"], ["created_at", "2018-11-19 00:49:56.556427"], ["updated_at", "2018-11-19 00:49:56.556427"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:49:56.575044"], ["updated_at", "2018-11-19 00:49:56.575044"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 99], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 201], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 201], ["room_id", 99], ["created_at", "2018-11-19 00:49:56.607113"], ["updated_at", "2018-11-19 00:49:56.607113"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"96", "status_old"=>"1", "id"=>"96"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 96], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$1Xc3UtJHnI1xqg8q1X1cu.ZiDsZm45T1jCgG315rJiyd4.CVi0x4e"], ["created_at", "2018-11-19 00:49:56.783484"], ["updated_at", "2018-11-19 00:49:56.783484"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$6ZJi0gcNpDTFZl7XPPdwWuJYsG5.YaIxU/x.nO1u6pBYOAZBgJXHK"], ["created_at", "2018-11-19 00:49:56.948038"], ["updated_at", "2018-11-19 00:49:56.948038"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:49:56.950858"], ["updated_at", "2018-11-19 00:49:56.950858"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 100], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 203], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 203], ["room_id", 100], ["created_at", "2018-11-19 00:49:56.957446"], ["updated_at", "2018-11-19 00:49:56.957446"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 250.1ms

 (0.4ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$6UC1Gj.GAjnsQYABjr1Io.6vXZdc2YsmpJ.Ik8fFOnESSlXLcVxs."], ["created_at", "2018-11-19 00:51:30.752492"], ["updated_at", "2018-11-19 00:51:30.752492"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$d4jT93osEUxtRcOgXrn/cuHVtTdh60IQH4.ulKpb0eaBV4sISe1K6"], ["created_at", "2018-11-19 00:51:30.917219"], ["updated_at", "2018-11-19 00:51:30.917219"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.5ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:51:30.939102"], ["updated_at", "2018-11-19 00:51:30.939102"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 101], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 205], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 205], ["room_id", 101], ["created_at", "2018-11-19 00:51:30.972390"], ["updated_at", "2018-11-19 00:51:30.972390"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"status_old"=>"1", "id"=>"98"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 98], ["LIMIT", 1]]

Completed 400 Bad Request in 2ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dfGlViY8.KrJgrLGxFuQ4..9nh4l4EiftuSyLwzB60R.F6y8IB6r6"], ["created_at", "2018-11-19 00:51:31.145361"], ["updated_at", "2018-11-19 00:51:31.145361"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$mDzhte9nFMhmZmUoMI4vs.9q1oXMb2itvSvMtMRJLFMybrZx94zQ6"], ["created_at", "2018-11-19 00:51:31.309750"], ["updated_at", "2018-11-19 00:51:31.309750"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:51:31.312291"], ["updated_at", "2018-11-19 00:51:31.312291"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 102], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 207], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 207], ["room_id", 102], ["created_at", "2018-11-19 00:51:31.317662"], ["updated_at", "2018-11-19 00:51:31.317662"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 268.7ms

 (0.3ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$U/JteFJ344PJRIaL1V0GTeoMiHpw41RFtgp/rj13IrX5kccrEekgm"], ["created_at", "2018-11-19 00:51:40.582656"], ["updated_at", "2018-11-19 00:51:40.582656"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$gKF8yDqe6JhEspruhSPC4eqy0DTanLtXhQ93aaLfYzsGd3PQj5gHm"], ["created_at", "2018-11-19 00:51:40.744543"], ["updated_at", "2018-11-19 00:51:40.744543"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:51:40.764484"], ["updated_at", "2018-11-19 00:51:40.764484"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 103], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 209], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 209], ["room_id", 103], ["created_at", "2018-11-19 00:51:40.796182"], ["updated_at", "2018-11-19 00:51:40.796182"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"100", "status_old"=>"1", "id"=>"100"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 100], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$e2fiT528fR6j8LOfhNYxduLIzw5sE1D7VOyPmpvMebDLRL/2Zt50e"], ["created_at", "2018-11-19 00:51:40.974721"], ["updated_at", "2018-11-19 00:51:40.974721"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$aj1nuRGBXZCGjX9dYKEq2OIp9kFshJbH1BlCgnwWyXTzBZBrStPXG"], ["created_at", "2018-11-19 00:51:41.140694"], ["updated_at", "2018-11-19 00:51:41.140694"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 00:51:41.143246"], ["updated_at", "2018-11-19 00:51:41.143246"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 104], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 211], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 211], ["room_id", 104], ["created_at", "2018-11-19 00:51:41.147946"], ["updated_at", "2018-11-19 00:51:41.147946"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 273.3ms

 (0.3ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sllI7ssANbRhYa3t6a5iF.QU8pReko5BMHR0giE2VFIG3zAJCk0q6"], ["created_at", "2018-11-19 01:36:15.912878"], ["updated_at", "2018-11-19 01:36:15.912878"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$i9nZVliUj2AyLHh3oZVE5upj9E0S6K3rEpT85tdwTMgunR37tOJtW"], ["created_at", "2018-11-19 01:36:16.075334"], ["updated_at", "2018-11-19 01:36:16.075334"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 01:36:16.090173"], ["updated_at", "2018-11-19 01:36:16.090173"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 105], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 213], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 213], ["room_id", 105], ["created_at", "2018-11-19 01:36:16.121325"], ["updated_at", "2018-11-19 01:36:16.121325"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"102", "status_old"=>"1", "id"=>"102"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 102], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 213], ["LIMIT", 1]]
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 105], ["LIMIT", 1]]
Rendered user_mailer/status_notification.html.erb within layouts/mailer (2.4ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 254.2ms Sent mail to 123@123.com (3464.3ms) Date: Sun, 18 Nov 2018 23:36:16 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf2139060608_41e17010e8350e1@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf213905ecfd_41e17010e834935";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf213905ecfd_41e17010e834935 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf213905ecfd_41e17010e834935 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf213905ecfd_41e17010e834935–

No template found for AppointmentsController#update, rendering head :no_content Completed 204 No Content in 3793ms (ActiveRecord: 0.9ms)

 (0.6ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$zNLkqs5XKO/8woBtxRrxVeX9aZ1w.meILRlMO.wyvvtRMQ/.gZE1S"], ["created_at", "2018-11-19 01:36:20.147064"], ["updated_at", "2018-11-19 01:36:20.147064"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$krfLgD3EGiYBt/USRb8BGO1jPSH.AeIgOtNuAf1d0RsF8cVPpZTiO"], ["created_at", "2018-11-19 01:36:20.307615"], ["updated_at", "2018-11-19 01:36:20.307615"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 01:36:20.310266"], ["updated_at", "2018-11-19 01:36:20.310266"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 106], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 215], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 215], ["room_id", 106], ["created_at", "2018-11-19 01:36:20.315296"], ["updated_at", "2018-11-19 01:36:20.315296"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.9ms

 (0.2ms)  ROLLBACK

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 23:36:37 -0200

 (0.8ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (78.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 364ms (Views: 339.5ms | ActiveRecord: 12.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 23:36:38 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.2ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 56ms (Views: 52.7ms | ActiveRecord: 1.7ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-18 23:36:39 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (61.8ms)
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 132ms (Views: 126.6ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-18 23:36:40 -0200 Processing by RoomsController#index as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (14.4ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 115ms (Views: 105.6ms | ActiveRecord: 1.5ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-18 23:36:41 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (8.3ms)
Rendered layouts/_header-admin.html.erb (4.1ms)

Completed 200 OK in 81ms (Views: 77.3ms | ActiveRecord: 0.6ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-18 23:36:41 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.1ms)
Rendered layouts/_header-admin.html.erb (5.1ms)

Completed 200 OK in 134ms (Views: 86.4ms | ActiveRecord: 1.1ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-18 23:36:43 -0200 Processing by RoomsController#new as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (67.5ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 168ms (Views: 145.5ms | ActiveRecord: 1.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 23:36:43 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (3.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (19.2ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 93ms (Views: 85.4ms | ActiveRecord: 5.0ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 23:36:45 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.5ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 65ms (Views: 60.8ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 23:36:48 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"JCjwbFp/CqauT6gXqPUUQhRPoHK8dZDIydp12ijq4SdipHvanu2D60tvugpIv/9qrpB7dWDBcVdQnY5eVIwsrg==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.1ms)  BEGIN
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-19 01:36:48.487042"], ["id", 3]]
 (163.2ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 176ms (ActiveRecord: 165.0ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 23:36:48 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (12.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 82ms (Views: 77.9ms | ActiveRecord: 1.9ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-18 23:36:50 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 81ms (Views: 70.4ms | ActiveRecord: 1.0ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-18 23:36:52 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"gEwSiHD5R8KG226UurfXGmkFaK/KUfATVgeYpVkS+ZPGwJk+tGvOj2P7fIla/Twy09qzqBblEYzPQGMhJXQ0Gg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (1.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-11-19 01:36:52.250478"], ["id", 3]]
 (56.6ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 73ms (ActiveRecord: 60.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-18 23:36:52 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 61ms (Views: 57.4ms | ActiveRecord: 1.5ms)

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.Ivr8P8AA8376ULFp1JGPeumnoB3w9QfAYHYJKxFOhVTLf8y9vIC6"], ["created_at", "2018-11-19 18:37:30.710859"], ["updated_at", "2018-11-19 18:37:30.710859"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$4/lBQG9livIJ3rXctD1kHOhkxI4rhcHG7904bSVyxiE0BGXZMmlhe"], ["created_at", "2018-11-19 18:37:30.872359"], ["updated_at", "2018-11-19 18:37:30.872359"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:37:30.886735"], ["updated_at", "2018-11-19 18:37:30.886735"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 107], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 217], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 217], ["room_id", 107], ["created_at", "2018-11-19 18:37:30.918486"], ["updated_at", "2018-11-19 18:37:30.918486"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"104", "status_old"=>"1", "id"=>"104"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 104], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ar9hFPtTIORu8nJdaF2Py.U8STbmqc0zDMp3Z0jOGz2Tkv.kelzpS"], ["created_at", "2018-11-19 18:37:31.101090"], ["updated_at", "2018-11-19 18:37:31.101090"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Bgqi2KxmjrDq6CtYMBB9/uoh5tiTwUEvVa5zGkd3T7siI/JDvRSia"], ["created_at", "2018-11-19 18:37:31.265362"], ["updated_at", "2018-11-19 18:37:31.265362"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:37:31.269839"], ["updated_at", "2018-11-19 18:37:31.269839"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 108], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 219], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 219], ["room_id", 108], ["created_at", "2018-11-19 18:37:31.279470"], ["updated_at", "2018-11-19 18:37:31.279470"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 250.0ms

 (0.4ms)  ROLLBACK
 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$c8L3ggdTjYdwWSnKWrrek.9BWTvA7ncmqr0df3MM49tNUAyImecvS"], ["created_at", "2018-11-19 18:37:49.450219"], ["updated_at", "2018-11-19 18:37:49.450219"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uU3sOgb7N5ZXHT2IO0X8d.3HzzNj4CgzGDBvNH.M1qtnFHRZoaQgq"], ["created_at", "2018-11-19 18:37:49.616677"], ["updated_at", "2018-11-19 18:37:49.616677"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:37:49.640104"], ["updated_at", "2018-11-19 18:37:49.640104"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 109], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 221], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 221], ["room_id", 109], ["created_at", "2018-11-19 18:37:49.677090"], ["updated_at", "2018-11-19 18:37:49.677090"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"106", "status_old"=>"1", "id"=>"106"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 106], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3EA.JgZ5CUTFotzrqZQMcuNI9GHJjq64Skyyv9CS04nde6h9uxQcu"], ["created_at", "2018-11-19 18:37:49.857920"], ["updated_at", "2018-11-19 18:37:49.857920"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$G/lbRMRUp0sOEpvt4OB1duVewJQoiTwb3nUP5yC91dzPp4nvcu.0i"], ["created_at", "2018-11-19 18:37:50.028345"], ["updated_at", "2018-11-19 18:37:50.028345"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:37:50.031063"], ["updated_at", "2018-11-19 18:37:50.031063"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.8ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 110], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 223], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 223], ["room_id", 110], ["created_at", "2018-11-19 18:37:50.037187"], ["updated_at", "2018-11-19 18:37:50.037187"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 263.0ms

 (0.2ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$V3PXT85w8VPCD10yNNP.ZeCSs84GPN5/dLhcns.UJ27KuR9/U7DPq"], ["created_at", "2018-11-19 18:38:29.981259"], ["updated_at", "2018-11-19 18:38:29.981259"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$LaoqhiJtII0MCPT2sHqeUuF.6/HgPXaP/kuMU98JB/O5r2INWOSpm"], ["created_at", "2018-11-19 18:38:30.151969"], ["updated_at", "2018-11-19 18:38:30.151969"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$9V4NTi.FQeYd3sNl/2QGue5ZOK9gzx00gs7TaEdEte2OQxqjbXm3W"], ["created_at", "2018-11-19 18:38:30.323708"], ["updated_at", "2018-11-19 18:38:30.323708"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:38:30.341361"], ["updated_at", "2018-11-19 18:38:30.341361"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 111], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 226], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 226], ["room_id", 111], ["created_at", "2018-11-19 18:38:30.377314"], ["updated_at", "2018-11-19 18:38:30.377314"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 255.2ms

 (0.3ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ls5E90AbkuIM8Zo9CEF.hOj5z9hmZQfp6Fi4oHKGzFHntwzdhFQ9y"], ["created_at", "2018-11-19 18:38:43.247411"], ["updated_at", "2018-11-19 18:38:43.247411"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$kYu8EJ9cheFnWKRkOfQf8eptaN8PXMYjFh7X4nMWBsh2Azv3q4aHq"], ["created_at", "2018-11-19 18:38:43.411426"], ["updated_at", "2018-11-19 18:38:43.411426"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:38:43.431356"], ["updated_at", "2018-11-19 18:38:43.431356"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 112], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 228], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 228], ["room_id", 112], ["created_at", "2018-11-19 18:38:43.464784"], ["updated_at", "2018-11-19 18:38:43.464784"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"109", "status_old"=>"1", "id"=>"109"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 109], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TrNBUyBX51dRMohcmt6vReZDLm2h5YWBQbXpxQjz.f77UmyzOjL/q"], ["created_at", "2018-11-19 18:38:43.646287"], ["updated_at", "2018-11-19 18:38:43.646287"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$X./nD9Hg/j3hBCy4dIGRiO5ypOOp5jpeFYkVsWMeKq5BWhT33fRru"], ["created_at", "2018-11-19 18:38:43.818439"], ["updated_at", "2018-11-19 18:38:43.818439"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:38:43.821254"], ["updated_at", "2018-11-19 18:38:43.821254"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.9ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 113], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 230], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 230], ["room_id", 113], ["created_at", "2018-11-19 18:38:43.827640"], ["updated_at", "2018-11-19 18:38:43.827640"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 261.7ms

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$VnN1kdAuMYwa4aMYlVfVluFPg25wG9pPIifHzWuGwl91VrMLWdLXO"], ["created_at", "2018-11-19 18:46:38.606592"], ["updated_at", "2018-11-19 18:46:38.606592"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$tDHMEPcYULoAmzlQ4FIi7.x00S3vvR0yX6ko0gFVYu2KrPNShkbo2"], ["created_at", "2018-11-19 18:46:38.770740"], ["updated_at", "2018-11-19 18:46:38.770740"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:46:38.787377"], ["updated_at", "2018-11-19 18:46:38.787377"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 114], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 232], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 232], ["room_id", 114], ["created_at", "2018-11-19 18:46:38.822296"], ["updated_at", "2018-11-19 18:46:38.822296"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"111", "status"=>"2", "status_old"=>"1", "id"=>"111"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 111], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$W6Gjs.3mjw1WffVdX46Qw.UEDsBVkevlYIob9Hm4rdt/3CdX0Lp26"], ["created_at", "2018-11-19 18:46:39.001025"], ["updated_at", "2018-11-19 18:46:39.001025"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/XLzAi1x9OqfFRFqV1bvkeB2YIVZzQ5XXQdAmikExWXId5Q2.Z3.a"], ["created_at", "2018-11-19 18:46:39.170743"], ["updated_at", "2018-11-19 18:46:39.170743"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:46:39.174335"], ["updated_at", "2018-11-19 18:46:39.174335"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 115], ["LIMIT", 1]]
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 234], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 234], ["room_id", 115], ["created_at", "2018-11-19 18:46:39.182108"], ["updated_at", "2018-11-19 18:46:39.182108"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 250.6ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$4DUxKtM2MtS97g4Kjxesfu26eMCRSq4Zm0QUYFDDPMFwWnaXV88RC"], ["created_at", "2018-11-19 18:47:00.653393"], ["updated_at", "2018-11-19 18:47:00.653393"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$k6PD9t3HlQM.uTYHMq4mqOx1Vt/n/ThUSkBjhmesmQ9dQ6.RL0S5W"], ["created_at", "2018-11-19 18:47:00.818002"], ["updated_at", "2018-11-19 18:47:00.818002"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:47:00.835562"], ["updated_at", "2018-11-19 18:47:00.835562"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 116], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 236], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 236], ["room_id", 116], ["created_at", "2018-11-19 18:47:00.870984"], ["updated_at", "2018-11-19 18:47:00.870984"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"113", "status"=>"2", "status_old"=>"1", "id"=>"113"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 113], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$DX9770ZprdZm9dOwg9a8ueO9lsuvEWRvFn.8s/nG/7wU87zQKN1t6"], ["created_at", "2018-11-19 18:47:01.054361"], ["updated_at", "2018-11-19 18:47:01.054361"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$LoRMYD5mOWyCUjHETQ7yFuIGrxTJ8mcP3ctQXY877tlN/1XiVOghS"], ["created_at", "2018-11-19 18:47:01.218530"], ["updated_at", "2018-11-19 18:47:01.218530"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:47:01.221436"], ["updated_at", "2018-11-19 18:47:01.221436"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 117], ["LIMIT", 1]]
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 238], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 238], ["room_id", 117], ["created_at", "2018-11-19 18:47:01.229216"], ["updated_at", "2018-11-19 18:47:01.229216"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 252.3ms

 (0.4ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$u63DRAVj9S8iV.Y.agwjDuvNYC0oq7Nch9ltcQc7Zgm.3cGj97Nre"], ["created_at", "2018-11-19 18:47:19.186677"], ["updated_at", "2018-11-19 18:47:19.186677"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$k6CZpfD4ES21CAr1313fY.JyfMVvD7Ddf7e1kRZQ3g2ZcdudGS4se"], ["created_at", "2018-11-19 18:47:19.347972"], ["updated_at", "2018-11-19 18:47:19.347972"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:47:19.363183"], ["updated_at", "2018-11-19 18:47:19.363183"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 118], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 240], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 240], ["room_id", 118], ["created_at", "2018-11-19 18:47:19.401883"], ["updated_at", "2018-11-19 18:47:19.401883"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"115", "status"=>"2", "status_old"=>"1", "id"=>"115"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 115], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$2ffDMgmpDZBMhU.D47Qa6.I/1Dc8Px5o7iSsCfCx9PgrQGM18IX6K"], ["created_at", "2018-11-19 18:47:19.581553"], ["updated_at", "2018-11-19 18:47:19.581553"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$.qd2LV.xMkLgMzTWr/qzluAr1L43os9yGOeZhjm/T4mwaV7zlqFZa"], ["created_at", "2018-11-19 18:47:19.745806"], ["updated_at", "2018-11-19 18:47:19.745806"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:47:19.749226"], ["updated_at", "2018-11-19 18:47:19.749226"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 119], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 242], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 242], ["room_id", 119], ["created_at", "2018-11-19 18:47:19.755780"], ["updated_at", "2018-11-19 18:47:19.755780"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 255.0ms

 (0.2ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eu/GBThxlMEsPgnMl3ACt./zpsUb5OrgucPfgKLTykYup5zW4bMz2"], ["created_at", "2018-11-19 18:48:35.275873"], ["updated_at", "2018-11-19 18:48:35.275873"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$N9wsKqG569W6DtYkkB82/uXttsVjhY2fBhZSx4G6pewNBordwcAk6"], ["created_at", "2018-11-19 18:48:35.438689"], ["updated_at", "2018-11-19 18:48:35.438689"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:48:35.454484"], ["updated_at", "2018-11-19 18:48:35.454484"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 120], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 244], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 244], ["room_id", 120], ["created_at", "2018-11-19 18:48:35.486767"], ["updated_at", "2018-11-19 18:48:35.486767"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"117", "status_old"=>"1", "id"=>"117"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 117], ["LIMIT", 1]]

Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$fIpb6tXrCt1/hoIuSYuvK.bqviOTyquLKV9XhlstLlg.euiMHNipW"], ["created_at", "2018-11-19 18:48:35.674258"], ["updated_at", "2018-11-19 18:48:35.674258"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Tn3wlH7WWigmYysrlzhZ/uJcNCQ71HO8nKn30ZHiM.IHl46FplS0."], ["created_at", "2018-11-19 18:48:35.853091"], ["updated_at", "2018-11-19 18:48:35.853091"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:48:35.855509"], ["updated_at", "2018-11-19 18:48:35.855509"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 121], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 246], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 246], ["room_id", 121], ["created_at", "2018-11-19 18:48:35.860296"], ["updated_at", "2018-11-19 18:48:35.860296"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 244.4ms

 (0.4ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$XfI63INefsHo75cFqS8/OOxSf3fml5tvK6LUYLuJigDFHoPniDdke"], ["created_at", "2018-11-19 18:48:55.375085"], ["updated_at", "2018-11-19 18:48:55.375085"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$0r2NU1FzP6mTsLDRPFK5zeg.t86a/AfSx3I3hNru8jdUTm95OITau"], ["created_at", "2018-11-19 18:48:55.537238"], ["updated_at", "2018-11-19 18:48:55.537238"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:48:55.557714"], ["updated_at", "2018-11-19 18:48:55.557714"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 122], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 248], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 248], ["room_id", 122], ["created_at", "2018-11-19 18:48:55.595624"], ["updated_at", "2018-11-19 18:48:55.595624"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"119", "status_old"=>"1", "id"=>"119"}
Appointment Load (1.0ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 119], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$LkQ9ItXkaG/fh6GjDuUlcu6nTwZ/gT7AwxshKomDd5Wc3jJiTW2VW"], ["created_at", "2018-11-19 18:48:55.773811"], ["updated_at", "2018-11-19 18:48:55.773811"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$JyEiO.t65MtYlegKrssmfeMI/pfmekFpRw5Ubu3MgtMlWMk3EOt9O"], ["created_at", "2018-11-19 18:48:55.938974"], ["updated_at", "2018-11-19 18:48:55.938974"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:48:55.941419"], ["updated_at", "2018-11-19 18:48:55.941419"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 123], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 250], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 250], ["room_id", 123], ["created_at", "2018-11-19 18:48:55.947065"], ["updated_at", "2018-11-19 18:48:55.947065"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 250.8ms

 (0.2ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$L0CGoccjxGw/RJYKilaOk.a85jJ0th.GQaxNVzqe0Ndze/GCRoamm"], ["created_at", "2018-11-19 18:49:02.851874"], ["updated_at", "2018-11-19 18:49:02.851874"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$gXuosnFytHu3iRTkc1sIAey/8wBp93EKCMByvy1l4w3cjUwURZZ/y"], ["created_at", "2018-11-19 18:49:03.013904"], ["updated_at", "2018-11-19 18:49:03.013904"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:49:03.029322"], ["updated_at", "2018-11-19 18:49:03.029322"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 124], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 252], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 252], ["room_id", 124], ["created_at", "2018-11-19 18:49:03.063317"], ["updated_at", "2018-11-19 18:49:03.063317"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"121", "status_old"=>"1", "id"=>"121"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 121], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7pqwz61bUeW.HyErly9H.eQSA2Mel9sTXXnHJ3//UQXgJprPOVEU."], ["created_at", "2018-11-19 18:49:03.242970"], ["updated_at", "2018-11-19 18:49:03.242970"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$E2PLK9zoDDI.ASyDQN3Ww.3QnjV9nnndm.54PlQBTpfPQ.K9qbBrG"], ["created_at", "2018-11-19 18:49:03.409272"], ["updated_at", "2018-11-19 18:49:03.409272"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:49:03.412672"], ["updated_at", "2018-11-19 18:49:03.412672"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 125], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 254], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 254], ["room_id", 125], ["created_at", "2018-11-19 18:49:03.420144"], ["updated_at", "2018-11-19 18:49:03.420144"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 250.9ms

 (0.4ms)  ROLLBACK
 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sW1kh/MMOJ1zBPLfVgyjCOlyWpwsflVCaJi/9EwXXo17JbtZmodyW"], ["created_at", "2018-11-19 18:49:16.223677"], ["updated_at", "2018-11-19 18:49:16.223677"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$o6mS452Yk.giqjHLlp/oc.ufIzRrlItmK0W9RsFOC.FoTAxdB5L8C"], ["created_at", "2018-11-19 18:49:16.389251"], ["updated_at", "2018-11-19 18:49:16.389251"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:49:16.409877"], ["updated_at", "2018-11-19 18:49:16.409877"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 126], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 256], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 256], ["room_id", 126], ["created_at", "2018-11-19 18:49:16.447971"], ["updated_at", "2018-11-19 18:49:16.447971"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"123", "status_old"=>"1", "id"=>"123"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 123], ["LIMIT", 1]]

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$BvWLbfEWSbRqByuzPzAEJOPp0TkQRCAfs4wo4ULMrUOFv4uz/x3y6"], ["created_at", "2018-11-19 18:49:16.644558"], ["updated_at", "2018-11-19 18:49:16.644558"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$3aggWB1XaJeM3M0qIB11aO1v192jnBrvv5fIqEBFkteSmHRVoOQC2"], ["created_at", "2018-11-19 18:49:16.808576"], ["updated_at", "2018-11-19 18:49:16.808576"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:49:16.811320"], ["updated_at", "2018-11-19 18:49:16.811320"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 127], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 258], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 258], ["room_id", 127], ["created_at", "2018-11-19 18:49:16.818210"], ["updated_at", "2018-11-19 18:49:16.818210"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 250.9ms

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$thkpN0y4dlJk5URy5ACGnOvrxKN1/MXpbMu.lBPUtzqKJ2RTo0qSy"], ["created_at", "2018-11-19 18:50:11.204382"], ["updated_at", "2018-11-19 18:50:11.204382"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Sd4le/7pJRE9XV4Ky8ch6uM/KuTxxUAfcu2mdnAVcBRzAXYInWMHm"], ["created_at", "2018-11-19 18:50:11.399725"], ["updated_at", "2018-11-19 18:50:11.399725"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:50:11.419112"], ["updated_at", "2018-11-19 18:50:11.419112"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 128], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 260], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 260], ["room_id", 128], ["created_at", "2018-11-19 18:50:11.455789"], ["updated_at", "2018-11-19 18:50:11.455789"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"125", "status_old"=>"1", "id"=>"125"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 125], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xXbj3VZ4Ssgw8Ptc/lu2e.WKSTNngyQaR9YffVrIaZyft6wCmExg."], ["created_at", "2018-11-19 18:50:11.637390"], ["updated_at", "2018-11-19 18:50:11.637390"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$deLB9ewz.rI9ukvlAADMVuZOnSNhdn9TdpYfHHQpUYO5DABcli20m"], ["created_at", "2018-11-19 18:50:11.802732"], ["updated_at", "2018-11-19 18:50:11.802732"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:50:11.806309"], ["updated_at", "2018-11-19 18:50:11.806309"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 129], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 262], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 262], ["room_id", 129], ["created_at", "2018-11-19 18:50:11.813497"], ["updated_at", "2018-11-19 18:50:11.813497"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.0ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 251.6ms

 (0.4ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$dTR.FR97eVs5XX.8H0T0n.JZ9obMmuK11e3E1ZMOxiPMxF6XccAda"], ["created_at", "2018-11-19 18:55:57.550666"], ["updated_at", "2018-11-19 18:55:57.550666"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$jqI.ExV7KFk3s3Is9eGI/u8eOYhxxKNce8iggptzkRuDBIkuUCRSe"], ["created_at", "2018-11-19 18:55:57.713177"], ["updated_at", "2018-11-19 18:55:57.713177"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:55:57.731142"], ["updated_at", "2018-11-19 18:55:57.731142"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 130], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 264], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 264], ["room_id", 130], ["created_at", "2018-11-19 18:55:57.768267"], ["updated_at", "2018-11-19 18:55:57.768267"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"127", "status_old"=>"1", "id"=>"127"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 127], ["LIMIT", 1]]

Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HdOIfzC9FtNF3gfIvR862O5gmUSUKgJV/V5SnUR3g9921shyFOWmy"], ["created_at", "2018-11-19 18:55:57.951917"], ["updated_at", "2018-11-19 18:55:57.951917"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$5G.Ul0mvK.eBdZ6MO31EIOGf2wmslNspe6qm8hFLxAvDrO0g8TO42"], ["created_at", "2018-11-19 18:55:58.117915"], ["updated_at", "2018-11-19 18:55:58.117915"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:55:58.120816"], ["updated_at", "2018-11-19 18:55:58.120816"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 131], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 266], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 266], ["room_id", 131], ["created_at", "2018-11-19 18:55:58.127526"], ["updated_at", "2018-11-19 18:55:58.127526"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 256.0ms

 (0.4ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$E7C03o9MChAKFlQFY4sHUOaErLwTRH0bh.arvOPLCkP39fhRTBpxe"], ["created_at", "2018-11-19 18:56:56.334771"], ["updated_at", "2018-11-19 18:56:56.334771"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$mFrl99hskOtsd2fTKueLuOtgIxdyr9AUWT0ebxPMUIVnxeskOl4Q."], ["created_at", "2018-11-19 18:56:56.497628"], ["updated_at", "2018-11-19 18:56:56.497628"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:56:56.512044"], ["updated_at", "2018-11-19 18:56:56.512044"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 132], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 268], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 268], ["room_id", 132], ["created_at", "2018-11-19 18:56:56.576798"], ["updated_at", "2018-11-19 18:56:56.576798"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>"129", "status_old"=>"1", "id"=>"129"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 129], ["LIMIT", 1]]

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$873Ib1oTy7RQYroCI..hoOBEOlJ6ivDsVojzONXjhCIFpKGcYQ5ci"], ["created_at", "2018-11-19 18:56:56.780095"], ["updated_at", "2018-11-19 18:56:56.780095"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$BO2FAHelEECI51fLfYIwDOizCWoiTZSyK1fuVVybpNI7wKCYREoYW"], ["created_at", "2018-11-19 18:56:56.945383"], ["updated_at", "2018-11-19 18:56:56.945383"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:56:56.948779"], ["updated_at", "2018-11-19 18:56:56.948779"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 133], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 270], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 270], ["room_id", 133], ["created_at", "2018-11-19 18:56:56.955708"], ["updated_at", "2018-11-19 18:56:56.955708"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 251.2ms

 (0.3ms)  ROLLBACK

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 16:57:43 -0200

 (1.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (78.3ms)
User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 361ms (Views: 334.8ms | ActiveRecord: 12.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 16:57:46 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (12.6ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 68ms (Views: 64.3ms | ActiveRecord: 2.1ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 16:57:47 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (8.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 63ms (Views: 59.8ms | ActiveRecord: 1.6ms)

Started GET “/appointments/3/edit” for 127.0.0.1 at 2018-11-19 16:57:48 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"3"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (21.1ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 103ms (Views: 97.8ms | ActiveRecord: 0.8ms)

Started PATCH “/appointments/3” for 127.0.0.1 at 2018-11-19 16:57:51 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"YVsyP+GH62Xae5g5MRa8a25irtCxNrrTCETv9vtsN54n17mJJRViKD9biiTRXFdD1L11122CW0yRAxRyhwr6Fw==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"3"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-19 18:57:51.110188"], ["id", 3]]
 (360.8ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 306.6ms Sent mail to andre_luisferreira@hotmail.com (3506.4ms) Date: Mon, 19 Nov 2018 16:57:51 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5bf307afc3407_485321f40d0488a5@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf307afc1c13_485321f40d0487f2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf307afc1c13_485321f40d0487f2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf307afc1c13_485321f40d0487f2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf307afc1c13_485321f40d0487f2–

Completed 302 Found in 4203ms (ActiveRecord: 362.8ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 16:57:55 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (1.1ms)  SELECT "appointments".* FROM "appointments"
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (16.9ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.4ms)

Completed 200 OK in 80ms (Views: 74.1ms | ActiveRecord: 2.9ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-11-19 16:58:24 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (7.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 93ms (Views: 86.0ms | ActiveRecord: 1.4ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-11-19 16:58:44 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"7b2SRRbzTnOLxqn8hGe3MwgNprR+BfIAhuDEuwpu3PUqBzGhesw3V7sf3x0NIlC39m51iTStjkvEscY8HAboqw==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 16ms (ActiveRecord: 2.3ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 16:58:44 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.1ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (10.5ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 81ms (Views: 77.4ms | ActiveRecord: 1.5ms)

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$gXN67hC1ggDVt4Chxge6FOon7cdw9x8nlskkH8U0xbkbfWK3Aa.Je"], ["created_at", "2018-11-19 18:59:56.518872"], ["updated_at", "2018-11-19 18:59:56.518872"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$CoBAET8jVmfKvvjHNfrHj.08RUBqetZptpIVglwRr1/VfbAM5/nZG"], ["created_at", "2018-11-19 18:59:56.679456"], ["updated_at", "2018-11-19 18:59:56.679456"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 18:59:56.696203"], ["updated_at", "2018-11-19 18:59:56.696203"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 134], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 272], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 272], ["room_id", 134], ["created_at", "2018-11-19 18:59:56.729259"], ["updated_at", "2018-11-19 18:59:56.729259"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"131"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 131], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 134], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 272], ["LIMIT", 1]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 255.3ms Sent mail to 123@123.com (3186.5ms) Date: Mon, 19 Nov 2018 16:59:57 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf3082d2246_588e113b0cc100064@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf3082d90c_588e113b0cc99996";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf3082d90c_588e113b0cc99996 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf3082d90c_588e113b0cc99996 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf3082d90c_588e113b0cc99996–

Completed 302 Found in 3454ms (ActiveRecord: 1.2ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$/BFNuweebvqkvffMFgfVgOb2340TR4.OqVqz1rRnqdkrhqA4GZYdy"], ["created_at", "2018-11-19 19:00:00.451671"], ["updated_at", "2018-11-19 19:00:00.451671"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$gXsNiDIweir6FbqsjLnbjORkbYvOBLI/CVdvyYCzVP4YDVbCr9lZW"], ["created_at", "2018-11-19 19:00:00.611021"], ["updated_at", "2018-11-19 19:00:00.611021"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:00:00.613625"], ["updated_at", "2018-11-19 19:00:00.613625"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 135], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 274], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 274], ["room_id", 135], ["created_at", "2018-11-19 19:00:00.618600"], ["updated_at", "2018-11-19 19:00:00.618600"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ouiAyATzpav6jA0NDCxMdecdQIAvwFI9vl0BQWMGi7Z89EmemEVhu"], ["created_at", "2018-11-19 19:01:06.780568"], ["updated_at", "2018-11-19 19:01:06.780568"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$tkWTYcL239EsPGwq7h5qfeFtNrSbNz/ddgFPIxFBUaWUO2f0DxhDS"], ["created_at", "2018-11-19 19:01:06.942035"], ["updated_at", "2018-11-19 19:01:06.942035"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (1.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:01:06.972998"], ["updated_at", "2018-11-19 19:01:06.972998"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 136], ["LIMIT", 1]]
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 276], ["LIMIT", 1]]
SQL (1.2ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 276], ["room_id", 136], ["created_at", "2018-11-19 19:01:07.046094"], ["updated_at", "2018-11-19 19:01:07.046094"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"133"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 133], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 136], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 276], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (2.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 268.8ms Sent mail to 123@123.com (3686.8ms) Date: Mon, 19 Nov 2018 17:01:07 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf3087355f92_635b38b0d085b2@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30873545b2_635b38b0d084e3";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30873545b2_635b38b0d084e3 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf30873545b2_635b38b0d084e3 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf30873545b2_635b38b0d084e3–

Completed 302 Found in 3974ms (ActiveRecord: 1.7ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$8a0Ot6fzdp/U1X35OlsA3.zT5X7Z.eOMdDqQNC4hZVJeH9YbsFHRa"], ["created_at", "2018-11-19 19:01:11.297728"], ["updated_at", "2018-11-19 19:01:11.297728"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$pzjaMibDaWVHuqF78LWOSOc70ySDzhLROCKNfu16PPptsby/.pmBS"], ["created_at", "2018-11-19 19:01:11.459300"], ["updated_at", "2018-11-19 19:01:11.459300"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:01:11.463063"], ["updated_at", "2018-11-19 19:01:11.463063"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 137], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 278], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 278], ["room_id", 137], ["created_at", "2018-11-19 19:01:11.469965"], ["updated_at", "2018-11-19 19:01:11.469965"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.2ms)

UserMailer#status_notification: processed outbound mail in 9.8ms

 (0.2ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$IZACJeOnG3nspLzX1TjP5OtO2fsOYgPQW0J/W5I/fwPsu4HaFaip2"], ["created_at", "2018-11-19 19:05:07.879841"], ["updated_at", "2018-11-19 19:05:07.879841"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$8sy1r7URhSZYkyW4ta2HtOH7mdBz1Fvx7ZyfZp8pnChTZdZdtVRGG"], ["created_at", "2018-11-19 19:05:08.042582"], ["updated_at", "2018-11-19 19:05:08.042582"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:05:08.063990"], ["updated_at", "2018-11-19 19:05:08.063990"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 138], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 280], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 280], ["room_id", 138], ["created_at", "2018-11-19 19:05:08.101443"], ["updated_at", "2018-11-19 19:05:08.101443"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"135"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 135], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 138], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 280], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 253.7ms Sent mail to 123@123.com (3118.2ms) Date: Mon, 19 Nov 2018 17:05:08 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf309645cc3a_4c811650d471594@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf309645b2b4_4c811650d471476";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf309645b2b4_4c811650d471476 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf309645b2b4_4c811650d471476 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf309645b2b4_4c811650d471476–

Completed 302 Found in 3385ms (ActiveRecord: 1.2ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7PHZw.oKcnjGF5Yg.z9cdub4R.35jmoA4SkWmTHDafw3AIDUzZNg."], ["created_at", "2018-11-19 19:05:11.756507"], ["updated_at", "2018-11-19 19:05:11.756507"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YjNEZBFEM4lxSAebqV3A8umSQoRaJA8T8RscmOryP8WLCHfizCcRK"], ["created_at", "2018-11-19 19:05:11.919871"], ["updated_at", "2018-11-19 19:05:11.919871"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:05:11.923066"], ["updated_at", "2018-11-19 19:05:11.923066"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 139], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 282], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 282], ["room_id", 139], ["created_at", "2018-11-19 19:05:11.929489"], ["updated_at", "2018-11-19 19:05:11.929489"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.0ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3NIObHLVA9AcbuiYWBH09eFL/TKmMIlfy/h3zZsw3jTwLL2YFeMGO"], ["created_at", "2018-11-19 19:05:12.102749"], ["updated_at", "2018-11-19 19:05:12.102749"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$4z4pDnYclUV0DPxwFnuv7uu5r0dSsBVPry08bDtLBcWsbXUdSAuKa"], ["created_at", "2018-11-19 19:05:12.267270"], ["updated_at", "2018-11-19 19:05:12.267270"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:05:12.270463"], ["updated_at", "2018-11-19 19:05:12.270463"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 140], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 284], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 284], ["room_id", 140], ["created_at", "2018-11-19 19:05:12.276854"], ["updated_at", "2018-11-19 19:05:12.276854"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 137], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (1.4ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$UkyUlOVjEMvTa1.AfKCFRuxkqSSmEg2NbIX/XIZ2HSZIZ2iDYbovC"], ["created_at", "2018-11-19 19:06:36.881581"], ["updated_at", "2018-11-19 19:06:36.881581"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$u4A.FxFWqtpzwCBY/CmXl.bstQPi3R0DDaE/1zcD.22tEBdwrxdyu"], ["created_at", "2018-11-19 19:06:37.043355"], ["updated_at", "2018-11-19 19:06:37.043355"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:06:37.063290"], ["updated_at", "2018-11-19 19:06:37.063290"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 141], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 286], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 286], ["room_id", 141], ["created_at", "2018-11-19 19:06:37.099329"], ["updated_at", "2018-11-19 19:06:37.099329"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"138"}
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 138], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 141], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 286], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 248.6ms Sent mail to 123@123.com (3160.4ms) Date: Mon, 19 Nov 2018 17:06:37 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf309bd5b4c4_10005250d0231db@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf309bd59b30_10005250d023086";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf309bd59b30_10005250d023086 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf309bd59b30_10005250d023086 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf309bd59b30_10005250d023086–

Completed 302 Found in 3422ms (ActiveRecord: 1.6ms)

 (0.8ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$GbvpQQKA1GRjxLVw/7cPYeXuCxOsNuePfTJrme.bT4uOk8DPv6Dju"], ["created_at", "2018-11-19 19:06:40.783839"], ["updated_at", "2018-11-19 19:06:40.783839"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$0OMJcu4YTxyHBpHlyAbWrOxswhA8zpIoy42.znr0oNpBaO7tUTrdK"], ["created_at", "2018-11-19 19:06:40.947208"], ["updated_at", "2018-11-19 19:06:40.947208"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:06:40.950746"], ["updated_at", "2018-11-19 19:06:40.950746"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 142], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 288], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 288], ["room_id", 142], ["created_at", "2018-11-19 19:06:40.957834"], ["updated_at", "2018-11-19 19:06:40.957834"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$8xFqy98Cz.lR5FmqDnMV7u5Q1oJS8j2VqG.y7802V/bpVwYM.aPnm"], ["created_at", "2018-11-19 19:06:41.131078"], ["updated_at", "2018-11-19 19:06:41.131078"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$imIrA2Flfnd9z350sx.tm.XxsZ.dC503T2yKwWWE79oSop0JnjDpC"], ["created_at", "2018-11-19 19:06:52.864431"], ["updated_at", "2018-11-19 19:06:52.864431"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$G8H80YBn7Nj2DZMZx5Ux2OMl5OGFlr0LPr2pQeNEQG.MSwGXXnG0C"], ["created_at", "2018-11-19 19:06:53.025695"], ["updated_at", "2018-11-19 19:06:53.025695"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:06:53.043643"], ["updated_at", "2018-11-19 19:06:53.043643"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 143], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 291], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 291], ["room_id", 143], ["created_at", "2018-11-19 19:06:53.076064"], ["updated_at", "2018-11-19 19:06:53.076064"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"140"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 140], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 143], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 291], ["LIMIT", 1]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 250.8ms Sent mail to 123@123.com (3337.6ms) Date: Mon, 19 Nov 2018 17:06:53 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf309cd5597a_12b010e70d043143@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf309cd5408f_12b010e70d043010";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf309cd5408f_12b010e70d043010 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf309cd5408f_12b010e70d043010 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf309cd5408f_12b010e70d043010–

Completed 302 Found in 3600ms (ActiveRecord: 1.0ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$1EudIbzut.xSJF26MY1AAe79ovCNlJOZQk17gOFmbiGj6Xz2avK4m"], ["created_at", "2018-11-19 19:06:56.939124"], ["updated_at", "2018-11-19 19:06:56.939124"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/QWedocFWcikdQiAhA8XZuEicP.CD5tIAbQhZFsoM2JfKUGM5L956"], ["created_at", "2018-11-19 19:06:57.099927"], ["updated_at", "2018-11-19 19:06:57.099927"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:06:57.103760"], ["updated_at", "2018-11-19 19:06:57.103760"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 144], ["LIMIT", 1]]
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 293], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 293], ["room_id", 144], ["created_at", "2018-11-19 19:06:57.111160"], ["updated_at", "2018-11-19 19:06:57.111160"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$sANblaSdePdZSaMxTCReO.PDv7JvO8PzMrnuUxFA1ZiKLw3Zrlubi"], ["created_at", "2018-11-19 19:06:57.283819"], ["updated_at", "2018-11-19 19:06:57.283819"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$z6Bbq/26o6dhsQm.4NwKpOWXbpAAS0yvam5YUKcEhzn.U2Xts5poO"], ["created_at", "2018-11-19 19:06:57.446276"], ["updated_at", "2018-11-19 19:06:57.446276"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:06:57.449224"], ["updated_at", "2018-11-19 19:06:57.449224"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 145], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 295], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 295], ["room_id", 145], ["created_at", "2018-11-19 19:06:57.455625"], ["updated_at", "2018-11-19 19:06:57.455625"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 142], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.1ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$L07ZlDNOOBFJ4F25yxFgEOgTxyHeLDRd.NLRiX2nFIuI8jEIzT7HG"], ["created_at", "2018-11-19 19:07:39.740976"], ["updated_at", "2018-11-19 19:07:39.740976"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$IPCbzULCCUV8Hv2EqUp5mOGe3NPn51OVlcGoJUlkYXhHSOIQQwPX2"], ["created_at", "2018-11-19 19:07:39.979102"], ["updated_at", "2018-11-19 19:07:39.979102"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:07:39.999439"], ["updated_at", "2018-11-19 19:07:39.999439"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 146], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 297], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 297], ["room_id", 146], ["created_at", "2018-11-19 19:07:40.033718"], ["updated_at", "2018-11-19 19:07:40.033718"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"1", "id"=>"143"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 143], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 146], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 297], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.5ms)

UserMailer#status_notification: processed outbound mail in 251.7ms Sent mail to 123@123.com (3310.0ms) Date: Mon, 19 Nov 2018 17:07:40 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf309fc4bfb0_1a9f7c30d06968c@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf309fc4a626_1a9f7c30d069555";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf309fc4a626_1a9f7c30d069555 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf309fc4a626_1a9f7c30d069555 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf309fc4a626_1a9f7c30d069555–

Completed 302 Found in 3576ms (ActiveRecord: 2.1ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xbfBpCQgCMjSO0SA.Uf8GuzJXyEkNCHMVl7sUSYBzbTXI7.0RXIqG"], ["created_at", "2018-11-19 19:07:43.850880"], ["updated_at", "2018-11-19 19:07:43.850880"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$V5eUfDZ0.DmXa3DECwMhQORs6ngAz37w7i7wgYsDsC/x0iiBgg9KC"], ["created_at", "2018-11-19 19:07:44.014639"], ["updated_at", "2018-11-19 19:07:44.014639"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:07:44.017811"], ["updated_at", "2018-11-19 19:07:44.017811"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 147], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 299], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 299], ["room_id", 147], ["created_at", "2018-11-19 19:07:44.024103"], ["updated_at", "2018-11-19 19:07:44.024103"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.3ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Pb1WKByXxY3RpSeYREdtG.aPEZ58ScvmsTICY7piWZ4xoyMZoeiW6"], ["created_at", "2018-11-19 19:07:44.196554"], ["updated_at", "2018-11-19 19:07:44.196554"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Psf6YE8.LdZNuwUEIseONuY3C5g9.sjuvAG37FmFlybVrM5PDMXWS"], ["created_at", "2018-11-19 19:07:44.356898"], ["updated_at", "2018-11-19 19:07:44.356898"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:07:44.359863"], ["updated_at", "2018-11-19 19:07:44.359863"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 148], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 301], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 301], ["room_id", 148], ["created_at", "2018-11-19 19:07:44.369114"], ["updated_at", "2018-11-19 19:07:44.369114"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 145], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.2ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$vJp8UBSl2bIhG0Je1NLGP.ghMakw2FLdrw6EuTHAddbqcrrkTFVsa"], ["created_at", "2018-11-19 19:09:46.557464"], ["updated_at", "2018-11-19 19:09:46.557464"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$rZm8fkdX2a6eAbKlkvzWXu9WlSRiwJgzjQ427T4PGr0agUPEYKtkq"], ["created_at", "2018-11-19 19:09:46.718556"], ["updated_at", "2018-11-19 19:09:46.718556"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:09:46.739701"], ["updated_at", "2018-11-19 19:09:46.739701"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 149], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 303], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 303], ["room_id", 149], ["created_at", "2018-11-19 19:09:46.777056"], ["updated_at", "2018-11-19 19:09:46.777056"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"3", "id"=>"146"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 146], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 149], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 303], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.7ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 256.4ms Sent mail to 123@123.com (3196.7ms) Date: Mon, 19 Nov 2018 17:09:47 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf30a7bee3a_2af411c30d0557d4@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30a7bd4fa_2af411c30d055611";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30a7bd4fa_2af411c30d055611 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf30a7bd4fa_2af411c30d055611 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf30a7bd4fa_2af411c30d055611–

Completed 302 Found in 3468ms (ActiveRecord: 1.1ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$q2YHtQoUdHpl1l75gKx8GeqFx9C4qr1a3mBySs2d3l4RYxKcj7iae"], ["created_at", "2018-11-19 19:09:50.515502"], ["updated_at", "2018-11-19 19:09:50.515502"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$.tUmGVWt3ATG4HYSCVA7/eHdUu.kHAIlsVxAu80kfSlY0i81BOa.a"], ["created_at", "2018-11-19 19:09:50.677534"], ["updated_at", "2018-11-19 19:09:50.677534"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:09:50.680279"], ["updated_at", "2018-11-19 19:09:50.680279"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 150], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 305], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 305], ["room_id", 150], ["created_at", "2018-11-19 19:09:50.686565"], ["updated_at", "2018-11-19 19:09:50.686565"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"3"}, "status_old"=>"2", "id"=>"147"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 147], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 150], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 305], ["LIMIT", 1]]
SQL (0.4ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-19 19:09:50.694986"], ["id", 147]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.8ms Sent mail to 123@123.com (3060.7ms) Date: Mon, 19 Nov 2018 17:09:50 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf30a7eacf1d_2af411c30d05592e@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30a7eac3ff_2af411c30d055894";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30a7eac3ff_2af411c30d055894 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi reprovado p= elo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf30a7eac3ff_2af411c30d055894 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi reprovad= o pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf30a7eac3ff_2af411c30d055894–

Completed 302 Found in 3079ms (ActiveRecord: 2.0ms)

 (0.6ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$tMttMk4neZHw0DBAJSji/urd9SDJRv0.gefHpTtVRh2HjrhoglNaC"], ["created_at", "2018-11-19 19:09:54.027377"], ["updated_at", "2018-11-19 19:09:54.027377"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$pViBhAYbtJ1QFc1sSds0k.vwi/R2jaMAvZK6pG/sx52FnhtreuRV6"], ["created_at", "2018-11-19 19:09:54.190016"], ["updated_at", "2018-11-19 19:09:54.190016"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:09:54.193543"], ["updated_at", "2018-11-19 19:09:54.193543"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 151], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 307], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 307], ["room_id", 151], ["created_at", "2018-11-19 19:09:54.200241"], ["updated_at", "2018-11-19 19:09:54.200241"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.2ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$N7pPEXveQtaEjh5j1kybyOvkmfOP/Gesl3a/nheRkkb895Wm36YkC"], ["created_at", "2018-11-19 19:09:54.376556"], ["updated_at", "2018-11-19 19:09:54.376556"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$3Cmgm/cuizMIZ8p8Td4Md.7KZBEjMdxq.N8.Oq5UWlyArcTlvd6ri"], ["created_at", "2018-11-19 19:09:54.538543"], ["updated_at", "2018-11-19 19:09:54.538543"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:09:54.541218"], ["updated_at", "2018-11-19 19:09:54.541218"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 152], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 309], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 309], ["room_id", 152], ["created_at", "2018-11-19 19:09:54.546674"], ["updated_at", "2018-11-19 19:09:54.546674"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 149], ["LIMIT", 1]]
 (1.6ms)  ROLLBACK
 (1.2ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (1.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xAgWumOGeKqafPcF1tHPeepxV2QdkfqcggmeqYu/d7guLS01MU2Nm"], ["created_at", "2018-11-19 19:10:14.587015"], ["updated_at", "2018-11-19 19:10:14.587015"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$W4NwQ3E3sZg0/ZnoSJb69.5sH2uqhJhbGpeUKySBG6X7nNky7PyJm"], ["created_at", "2018-11-19 19:10:14.749385"], ["updated_at", "2018-11-19 19:10:14.749385"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.0ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:14.769333"], ["updated_at", "2018-11-19 19:10:14.769333"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 153], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 311], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 311], ["room_id", 153], ["created_at", "2018-11-19 19:10:14.804075"], ["updated_at", "2018-11-19 19:10:14.804075"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"3", "id"=>"150"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 150], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 153], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 311], ["LIMIT", 1]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 248.9ms Sent mail to 123@123.com (3078.1ms) Date: Mon, 19 Nov 2018 17:10:15 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf30a971211f_2dad38b0d0195e@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30a971083b_2dad38b0d018ce";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30a971083b_2dad38b0d018ce Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf30a971083b_2dad38b0d018ce Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf30a971083b_2dad38b0d018ce–

Completed 302 Found in 3336ms (ActiveRecord: 1.3ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$eLvP/s/nJRClSZMsV4fp3eywqUfs0uvsAA/lwJQOJc4tdbJrdIBvO"], ["created_at", "2018-11-19 19:10:18.367419"], ["updated_at", "2018-11-19 19:10:18.367419"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$lePMC08a8L6vYj/H0YZ/5eOT42HZQt3FqJwnRBzlXhk8mpEiKLx0y"], ["created_at", "2018-11-19 19:10:18.555653"], ["updated_at", "2018-11-19 19:10:18.555653"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (2.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (1.2ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:18.561373"], ["updated_at", "2018-11-19 19:10:18.561373"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 154], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 313], ["room_id", 154], ["created_at", "2018-11-19 19:10:18.570967"], ["updated_at", "2018-11-19 19:10:18.570967"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"3"}, "status_old"=>"2", "id"=>"151"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 151], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 154], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 313], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-11-19 19:10:18.579638"], ["id", 151]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 10.3ms Sent mail to 123@123.com (3221.1ms) Date: Mon, 19 Nov 2018 17:10:18 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5bf30a9a915b6_2dad38b0d02154@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30a9a908e5_2dad38b0d020cf";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30a9a908e5_2dad38b0d020cf Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi reprovado p= elo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5bf30a9a908e5_2dad38b0d020cf Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi reprovad= o pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5bf30a9a908e5_2dad38b0d020cf–

Completed 302 Found in 3241ms (ActiveRecord: 1.8ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.1ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$CNF/wvJew1CXHQPEFU2rKexlg5Tvyi11ud4TVm6k4DjQRF..MC2C2"], ["created_at", "2018-11-19 19:10:22.078457"], ["updated_at", "2018-11-19 19:10:22.078457"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$DB/KO4BUpPLBJRaPNgpyGOtZCnMms3YDhMSy1s2yDR1E2MNIk4She"], ["created_at", "2018-11-19 19:10:22.240396"], ["updated_at", "2018-11-19 19:10:22.240396"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:22.243654"], ["updated_at", "2018-11-19 19:10:22.243654"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 155], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 315], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 315], ["room_id", 155], ["created_at", "2018-11-19 19:10:22.250086"], ["updated_at", "2018-11-19 19:10:22.250086"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.1ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$QpA2DR6g5l56n1BO/5QKxOqcWNto8uv3Ilvg6SA.7drBtvHxUFbYy"], ["created_at", "2018-11-19 19:10:22.425464"], ["updated_at", "2018-11-19 19:10:22.425464"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Afyzix4SwjzdknwcGwOLJ.X.fMjfU9J92vH2sYHzhLbPQeO/mTqiG"], ["created_at", "2018-11-19 19:10:22.659939"], ["updated_at", "2018-11-19 19:10:22.659939"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:22.663692"], ["updated_at", "2018-11-19 19:10:22.663692"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 156], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 317], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 317], ["room_id", 156], ["created_at", "2018-11-19 19:10:22.674758"], ["updated_at", "2018-11-19 19:10:22.674758"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 153], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pWDWIjwtbFDBDW5TWoA7mu7xl3NRi5gmFWYq.jxXzJVqXgimJYvJu"], ["created_at", "2018-11-19 19:10:22.868707"], ["updated_at", "2018-11-19 19:10:22.868707"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"318"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "SAJSILcKQXrFg7yyDhsHmw"], ["updated_at", "2018-11-19 19:10:22.876476"], ["id", 318]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-11-19 19:10:22.879677"], ["reset_sent_at", "2018-11-19 19:10:22.879114"], ["id", 318]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 20.3ms Sent mail to teste@unb.com.br (3063.7ms) Date: Mon, 19 Nov 2018 17:10:22 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5bf30a9edc9c1_2dad38b0d0243e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5bf30a9edbf64_2dad38b0d0232c";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5bf30a9edbf64_2dad38b0d0232c Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/SAJSILcKQXrFg7yyDhsHmw/edit?email=3D= teste%40unb.com.br

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5bf30a9edbf64_2dad38b0d0232c Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/SAJSILcKQXrFg7yyDhsHmw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5bf30a9edbf64_2dad38b0d0232c–

Redirected to test.host/login Completed 302 Found in 3095ms (ActiveRecord: 2.8ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$2LKgJqlOtFfy1VpiEJQqS.82VaWsitn59or40TR6rr56muOrhxmcy"], ["created_at", "2018-11-19 19:10:26.226512"], ["updated_at", "2018-11-19 19:10:26.226512"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 7.8ms

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Fhd9VlkZHAremJX2SDM0YO0cAJoQ308Ha2xIjV2K4scqc3yiZdAAW"], ["created_at", "2018-11-19 19:10:26.431676"], ["updated_at", "2018-11-19 19:10:26.431676"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"320"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$E9lZhDir6G6WfnqJDrb19.x1YSk/K2Z2X.VOuprXj588I84s1W/ZS"], ["updated_at", "2018-11-19 19:10:26.592964"], ["id", 320]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 161ms (ActiveRecord: 1.5ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$dNRqK2PAJWqpiuqHMm/OBuJ2nik3bfEmJ5wf5arxhc5Tshk/sSHKO"], ["created_at", "2018-11-19 19:10:26.809290"], ["updated_at", "2018-11-19 19:10:26.809290"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"321"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$Hp8N6/NAURCBQark5eTPku6LkH/HO5gieUtD/n8QU2i2Rt9.kaufy"], ["created_at", "2018-11-19 19:10:26.988476"], ["updated_at", "2018-11-19 19:10:26.988476"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"322"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
 (0.1ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 176ms (Views: 10.1ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$3l87GwwQrTjoqaC9zwTX0ei183Ri2UswizkXK3Xi9DUf/dFNNLN/G"], ["created_at", "2018-11-19 19:10:27.329287"], ["updated_at", "2018-11-19 19:10:27.329287"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"323"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 167ms (Views: 3.4ms | ActiveRecord: 1.0ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$.D2I22lvweHHTM9qtvecr.A/NoHjSbp9JLgmJLx0xjsgjqLqpCWhy"], ["created_at", "2018-11-19 19:10:27.661886"], ["updated_at", "2018-11-19 19:10:27.661886"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"324"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$9Ux9Fu/IAw5ROHL0Oh.sCuGHQhQ9hs0kK9ttFBGLRoFkUbwdCNQQa"], ["created_at", "2018-11-19 19:10:27.988447"], ["updated_at", "2018-11-19 19:10:27.988447"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 7.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$VJHwP7HBkiAJJuMO4MqTaOJ2jf7AFzPIUfvhDfw8v/qB3JFhxGvWS"], ["created_at", "2018-11-19 19:10:28.160834"], ["updated_at", "2018-11-19 19:10:28.160834"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 7.5ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$VNK396iVk0ki4AHIfDEoxOyWBiThVWaroXdms2vQCOkWOh9/ZMQam"], ["created_at", "2018-11-19 19:10:28.332967"], ["updated_at", "2018-11-19 19:10:28.332967"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:28.335951"], ["updated_at", "2018-11-19 19:10:28.335951"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 157], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 327], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 327], ["room_id", 157], ["created_at", "2018-11-19 19:10:28.340778"], ["updated_at", "2018-11-19 19:10:28.340778"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.0ms)

UserMailer#status_notification: processed outbound mail in 7.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$PWJMZfKICA4VeRBs0L.R3.4ugkZiIo/ke9qPouWE4CAzkm8fGXV5."], ["created_at", "2018-11-19 19:10:28.513780"], ["updated_at", "2018-11-19 19:10:28.513780"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-11-19 19:10:28.516904"], ["updated_at", "2018-11-19 19:10:28.516904"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 158], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 328], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["user_id", 328], ["room_id", 158], ["created_at", "2018-11-19 19:10:28.522372"], ["updated_at", "2018-11-19 19:10:28.522372"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.0ms)

UserMailer#status_notification: processed outbound mail in 7.6ms

 (0.3ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-11-19 22:01:17 -0200

 (0.9ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (7.1ms)

Completed 200 OK in 348ms (Views: 338.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-19 22:01:25 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (26.7ms)
Rendered users/sessions/new.html.erb within layouts/application (46.7ms)

Completed 200 OK in 161ms (Views: 104.3ms | ActiveRecord: 4.6ms)

Started POST “/login” for 127.0.0.1 at 2018-11-19 22:01:30 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"krxYbCmTyPi18PGTocD6cqfr5D2zI4qImaHtKAgFq4KScqqgXwp/IBQ8L3OytRyOF8KV7rIlCwM+UthNXv6Aag==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.1ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-20 00:01:30.525499"], ["last_sign_in_at", "2018-11-18 23:57:02.690915"], ["sign_in_count", 9], ["updated_at", "2018-11-20 00:01:30.526972"], ["id", 1]]
 (163.3ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 404ms (ActiveRecord: 166.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-19 22:01:30 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.7ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 59ms (Views: 56.6ms | ActiveRecord: 0.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 22:01:34 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (75.9ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (5.7ms)

Completed 200 OK in 189ms (Views: 163.5ms | ActiveRecord: 9.9ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-19 22:01:41 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (12.7ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-19 22:01:42 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.7ms)
Rendered layouts/_header-admin.html.erb (5.9ms)

Completed 200 OK in 469ms (Views: 429.4ms | ActiveRecord: 12.1ms)

Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 1264ms (Views: 1254.4ms | ActiveRecord: 0.9ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 22:01:43 -0200 Processing by RoomsController#index as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (27.1ms)
Rendered layouts/_header-admin.html.erb (4.8ms)

Completed 200 OK in 137ms (Views: 116.9ms | ActiveRecord: 2.6ms)

Started GET “/rooms/1/edit” for 127.0.0.1 at 2018-11-19 22:02:54 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (10.0ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 99ms (Views: 58.7ms | ActiveRecord: 1.6ms)

Started GET “/rooms/1/edit” for 127.0.0.1 at 2018-11-19 22:06:15 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (1.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (8.8ms)
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 96ms (Views: 60.1ms | ActiveRecord: 1.7ms)

Started GET “/rooms/14/edit” for 127.0.0.1 at 2018-11-19 22:06:20 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"14"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (1.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (10.6ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 83ms (Views: 59.5ms | ActiveRecord: 2.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 22:06:22 -0200 Processing by RoomsController#index as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (27.7ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 106ms (Views: 100.0ms | ActiveRecord: 1.1ms)

Started GET “/users” for 127.0.0.1 at 2018-11-19 22:06:25 -0200

ActionController::RoutingError (No route matches [GET] “/users”):

actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' puma (3.11.4) lib/puma/configuration.rb:225:in `call' puma (3.11.4) lib/puma/server.rb:632:in `handle_request' puma (3.11.4) lib/puma/server.rb:446:in `process_client' puma (3.11.4) lib/puma/server.rb:306:in `block in run' puma (3.11.4) lib/puma/thread_pool.rb:120:in `block in spawn_thread' Started GET “/my-appointments” for 127.0.0.1 at 2018-11-19 22:06:51 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 1]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.5ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 56ms (Views: 48.8ms | ActiveRecord: 1.0ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-19 22:06:51 -0200 Processing by RoomsController#new as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (10.0ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 73ms (Views: 63.7ms | ActiveRecord: 0.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-11-19 22:06:52 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (1.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (17.3ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 91ms (Views: 85.7ms | ActiveRecord: 3.1ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-19 22:06:53 -0200 Processing by RoomsController#search_rooms as HTML

User Load (3.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (8.4ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 68ms (Views: 61.7ms | ActiveRecord: 3.0ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 22:06:54 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (19.8ms)
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 101ms (Views: 95.2ms | ActiveRecord: 1.0ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-19 22:06:57 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.9ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 58ms (Views: 55.2ms | ActiveRecord: 0.8ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-19 22:07:03 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"qB0PNBr2VdRE6E7P+5LzkvWGLjAK+UOl3Z5EKIhX0ApmiRL3JrIfmBdESWIIY/M+v72maeaWEiFdJ5OLQ/XTqw=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 35ms (ActiveRecord: 0.8ms)

Started GET “/” for 127.0.0.1 at 2018-11-19 22:07:03 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.5ms)

Completed 200 OK in 48ms (Views: 46.8ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-19 22:07:05 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (5.6ms)
Rendered users/sessions/new.html.erb within layouts/application (35.0ms)

Completed 200 OK in 131ms (Views: 128.1ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-19 22:07:08 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"GIhxb2B4dhvjq/n0iNzz5haJEGDI8qHPL0o9u7j5+Ikwoor4w3tcNL04UnGUFyOlAmJFgh7tKomqYw3xFjJAKg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.3ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-20 00:07:08.463535"], ["last_sign_in_at", "2018-11-17 18:34:52.728957"], ["sign_in_count", 6], ["updated_at", "2018-11-20 00:07:08.464963"], ["id", 3]]
 (327.9ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 515ms (ActiveRecord: 331.0ms)

Started GET “/” for 127.0.0.1 at 2018-11-19 22:07:08 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (6.8ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 46ms (Views: 43.5ms | ActiveRecord: 0.6ms)

Started GET “/users/3/edit” for 127.0.0.1 at 2018-11-19 22:07:10 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"3"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (8.0ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 70ms (Views: 65.6ms | ActiveRecord: 0.9ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-19 22:07:22 -0200 Processing by RoomsController#search_rooms as HTML

User Load (7.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (11.2ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 110ms (Views: 93.2ms | ActiveRecord: 7.1ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 22:07:23 -0200 Processing by RoomsController#index as HTML

User Load (1.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (15.2ms)
Rendered layouts/_header-user.html.erb (4.3ms)

Completed 200 OK in 84ms (Views: 75.6ms | ActiveRecord: 1.7ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 22:07:30 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (1.4ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (230.0ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (4.2ms)

Completed 200 OK in 438ms (Views: 331.6ms | ActiveRecord: 2.3ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-11-19 22:07:36 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 69ms (Views: 55.4ms | ActiveRecord: 2.6ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-19 22:07:41 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (8.1ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 79ms (Views: 73.2ms | ActiveRecord: 0.5ms)

Started GET “/my-appointments” for 127.0.0.1 at 2018-11-19 22:07:42 -0200 Processing by AppointmentsController#my_appointments as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 3]]
Rendered appointments/my_appointments.html.erb within layouts/application (6.5ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 68ms (Views: 61.1ms | ActiveRecord: 1.4ms)

Started GET “/users/3/edit” for 127.0.0.1 at 2018-11-19 22:07:42 -0200 Processing by Users::RegistrationsController#edit as HTML

Parameters: {"id"=>"3"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering users/registrations/edit.html.erb within layouts/application
Rendered users/registrations/edit.html.erb within layouts/application (8.2ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 86ms (Views: 75.3ms | ActiveRecord: 0.8ms)

Started GET “/search-rooms” for 127.0.0.1 at 2018-11-19 22:07:43 -0200 Processing by RoomsController#search_rooms as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 76ms (Views: 69.5ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 22:07:45 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (18.2ms)
Rendered layouts/_header-user.html.erb (3.4ms)

Completed 200 OK in 108ms (Views: 102.5ms | ActiveRecord: 1.1ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 22:12:55 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (17.4ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 97ms (Views: 88.9ms | ActiveRecord: 1.5ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 22:13:37 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (8.9ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered layouts/_header-user.html.erb (4.7ms)

Completed 200 OK in 85ms (Views: 73.8ms | ActiveRecord: 1.4ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-11-19 23:03:36 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"SD8HHoI6+LGrdTduUizf/3d2ac83/BEu8nrwn633MD3H3IA9DhF1bRMBnpmAOLTKqpKQOQVcUxIJWOSEDeo+Hg=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)

Started GET “/” for 127.0.0.1 at 2018-11-19 23:03:36 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.1ms)

Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-11-19 23:03:38 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.3ms)
Rendered users/sessions/new.html.erb within layouts/application (13.1ms)

Completed 200 OK in 63ms (Views: 60.7ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-11-19 23:03:41 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"A5GrFKc/lwNvL/ox9tQAsbactJvlnlQFvi4Tttbsk4VhDq9f1WaYSPHRk8zz9ABrTYVZLIwccT7xtNUw17Pb1A==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.4ms)  BEGIN
SQL (1.0ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-11-20 01:03:41.965504"], ["last_sign_in_at", "2018-11-20 00:01:30.525499"], ["sign_in_count", 10], ["updated_at", "2018-11-20 01:03:41.966671"], ["id", 1]]
 (184.7ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 412ms (ActiveRecord: 187.9ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-19 23:03:42 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.8ms)
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 51ms (Views: 48.6ms | ActiveRecord: 0.5ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:03:45 -0200 Processing by RoomsController#index as HTML

Parameters: {"authenticity_token"=>"y8tK/mehk0xg8bTymlRFxDqGOWBen6nealDiHI/MtdKEL7yhaBOL2+F9MaWEQd/onzXvPv+s/9QYIEhEjFOp6Q=="}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (8.9ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 92ms (Views: 87.5ms | ActiveRecord: 1.0ms)

Started GET “/rooms/1/edit” for 127.0.0.1 at 2018-11-19 23:03:47 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"1"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (10.6ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 77ms (Views: 68.2ms | ActiveRecord: 1.5ms)

Started PATCH “/rooms/1” for 127.0.0.1 at 2018-11-19 23:03:51 -0200 Processing by RoomsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"N/RJydqrklnI88y1XjpaLCQnT/gMjT2WXb00CgqYLbDj593/EUderXYllk57CaKHjgE0GC5y4mPjO4z6xlveZw==", "room"=>{"name"=>"B303", "location"=>"CIC", "tipo_sala"=>"Auditórios"}, "commit"=>"Update", "id"=>"1"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.5ms)  UPDATE "rooms" SET "tipo_sala" = $1, "updated_at" = $2 WHERE "rooms"."id" = $3  [["tipo_sala", "Auditórios"], ["updated_at", "2018-11-20 01:03:51.269914"], ["id", 1]]
 (61.6ms)  COMMIT

Redirected to localhost:3000/rooms/1 Completed 302 Found in 76ms (ActiveRecord: 63.6ms)

Started GET “/rooms/1” for 127.0.0.1 at 2018-11-19 23:03:51 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"1"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.8ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 57ms (Views: 51.9ms | ActiveRecord: 0.8ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:03:54 -0200 Processing by RoomsController#index as HTML

User Load (1.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (17.8ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 94ms (Views: 80.5ms | ActiveRecord: 2.3ms)

Started GET “/rooms/14/edit” for 127.0.0.1 at 2018-11-19 23:03:56 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"14"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (13.3ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 92ms (Views: 79.7ms | ActiveRecord: 1.9ms)

Started PATCH “/rooms/14” for 127.0.0.1 at 2018-11-19 23:03:58 -0200 Processing by RoomsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"cvnT7ghOe45U4P156jGW1dsRdoTGOfMNB0tPohh+K3IqSipmszE32vK3uc24hQT0MyDcwkzfpGeM0q2Xrd4yQw==", "room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"Auditórios"}, "commit"=>"Update", "id"=>"14"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "rooms" SET "tipo_sala" = $1, "updated_at" = $2 WHERE "rooms"."id" = $3  [["tipo_sala", "Auditórios"], ["updated_at", "2018-11-20 01:03:59.008664"], ["id", 14]]
 (57.1ms)  COMMIT

Redirected to localhost:3000/rooms/14 Completed 302 Found in 67ms (ActiveRecord: 58.4ms)

Started GET “/rooms/14” for 127.0.0.1 at 2018-11-19 23:03:59 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"14"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 80ms (Views: 70.8ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:04:00 -0200 Processing by RoomsController#index as HTML

User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (26.2ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 102ms (Views: 93.7ms | ActiveRecord: 1.6ms)

Started GET “/rooms/14/edit” for 127.0.0.1 at 2018-11-19 23:04:02 -0200 Processing by RoomsController#edit as HTML

Parameters: {"id"=>"14"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (11.1ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 78ms (Views: 70.6ms | ActiveRecord: 1.0ms)

Started PATCH “/rooms/14” for 127.0.0.1 at 2018-11-19 23:04:05 -0200 Processing by RoomsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"lY7nZYC9BzU784ITfELsteYAY0sA/TXXlvaO8PEgxjDNPR7tO8JLYZ2kxqcu9n6UDjHJDYobYr0db2zFRIDfAQ==", "room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"Auditórios"}, "commit"=>"Update", "id"=>"14"}
User Load (1.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
 (0.3ms)  BEGIN
 (0.3ms)  COMMIT

Redirected to localhost:3000/rooms/14 Completed 302 Found in 13ms (ActiveRecord: 2.2ms)

Started GET “/rooms/14” for 127.0.0.1 at 2018-11-19 23:04:05 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"14"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 14], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.8ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 75ms (Views: 66.9ms | ActiveRecord: 1.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:04:08 -0200 Processing by RoomsController#index as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (7.1ms)
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 69ms (Views: 56.5ms | ActiveRecord: 1.0ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-19 23:05:57 -0200 Processing by RoomsController#new as HTML

User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (11.8ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 95ms (Views: 88.5ms | ActiveRecord: 0.7ms)

Started POST “/rooms” for 127.0.0.1 at 2018-11-19 23:06:03 -0200 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"RjQkLVAMRLzheAnjYQfjVEBUDChI6GZQIz/ii6x3wp+Ic0plm/GFQwL3ItbC8PGUfY6iiDqaVYCkYBqcvBwUvg==", "room"=>{"name"=>"ee", "location"=>"e", "tipo_sala"=>"Auditórios"}, "commit"=>"Criar Sala"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (1.6ms)  BEGIN
 (0.3ms)  ROLLBACK

Redirected to localhost:3000/backoffice Completed 302 Found in 12ms (ActiveRecord: 2.4ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-19 23:06:03 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (6.4ms)
Rendered layouts/_header-admin.html.erb (4.9ms)

Completed 200 OK in 54ms (Views: 52.1ms | ActiveRecord: 0.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:06:08 -0200 Processing by RoomsController#index as HTML

Parameters: {"authenticity_token"=>"OK2dst63gkCms7zfp65lawhpuT7tMkvhIn/PToaK4HZ3SWvt0QWa1yc/OYi5u/9HrdpvYEwBHetQD2UWhRX8TQ=="}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (1.0ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (10.3ms)
Rendered layouts/_header-admin.html.erb (4.2ms)

Completed 200 OK in 76ms (Views: 70.2ms | ActiveRecord: 1.6ms)

Started GET “/rooms/new” for 127.0.0.1 at 2018-11-19 23:06:10 -0200 Processing by RoomsController#new as HTML

User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (9.2ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 63ms (Views: 59.3ms | ActiveRecord: 0.4ms)

Started POST “/rooms” for 127.0.0.1 at 2018-11-19 23:06:17 -0200 Processing by RoomsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"v1FkyYuXo94RXPpkJgsScz4VUtQVumx2ISFY7BkJ84VxFgqBQGpiIfLT0VGF/ACzA8/8dGfIX6amfqD7CWIlpA==", "room"=>{"name"=>"B4044", "location"=>"CIC", "tipo_sala"=>"Auditórios"}, "commit"=>"Criar Sala"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "B4044"], ["location", "CIC"], ["created_at", "2018-11-20 01:06:17.991166"], ["updated_at", "2018-11-20 01:06:17.991166"], ["tipo_sala", "Auditórios"]]
 (215.8ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 225ms (ActiveRecord: 217.3ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-11-19 23:06:18 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (3.8ms)
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 55ms (Views: 52.9ms | ActiveRecord: 0.6ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:06:20 -0200 Processing by RoomsController#index as HTML

Parameters: {"authenticity_token"=>"4/zlEFvxSvzw40lM/cwjLEi2829JCTASovpmAqa7NYmsGBNPVENSa3FvzBvj2bkA7QUlMeg6ZhjQisxapSQpsg=="}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (8.4ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 67ms (Views: 62.0ms | ActiveRecord: 1.5ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:06:23 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (1.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (27.2ms)
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 117ms (Views: 108.3ms | ActiveRecord: 2.0ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:06:24 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (11.7ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 82ms (Views: 75.4ms | ActiveRecord: 1.0ms)

Started GET “/filtro/Laborat%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:06:27 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Laboratórios"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (8.4ms)
Rendered layouts/_header-admin.html.erb (3.8ms)

Completed 200 OK in 69ms (Views: 64.9ms | ActiveRecord: 0.8ms)

Started GET “/filtro/Multiuso” for 127.0.0.1 at 2018-11-19 23:06:28 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Multiuso"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (12.2ms)
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 67ms (Views: 61.9ms | ActiveRecord: 1.1ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:06:29 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (1.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (20.0ms)
Rendered layouts/_header-admin.html.erb (3.1ms)

Completed 200 OK in 101ms (Views: 87.3ms | ActiveRecord: 1.7ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:06:37 -0200 Processing by RoomsController#index as HTML

User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.8ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (19.4ms)
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 100ms (Views: 91.6ms | ActiveRecord: 1.6ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 23:08:30 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (1.2ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (10.9ms)
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.9ms)

Completed 200 OK in 72ms (Views: 62.3ms | ActiveRecord: 2.2ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:11:34 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (9.4ms)
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 69ms (Views: 64.2ms | ActiveRecord: 1.0ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:11:54 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (1.1ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.5ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (17.9ms)
Rendered layouts/_header-admin.html.erb (4.3ms)

Completed 200 OK in 88ms (Views: 81.4ms | ActiveRecord: 1.6ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:11:57 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (6.6ms)
Rendered layouts/_header-admin.html.erb (3.7ms)

Completed 200 OK in 59ms (Views: 52.4ms | ActiveRecord: 1.0ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:13:16 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (14.4ms)
Rendered layouts/_header-admin.html.erb (4.9ms)

Completed 200 OK in 95ms (Views: 78.5ms | ActiveRecord: 1.1ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 23:16:18 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (10.3ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.5ms)

Completed 200 OK in 65ms (Views: 58.4ms | ActiveRecord: 1.4ms)

Started GET “/rooms” for 127.0.0.1 at 2018-11-19 23:20:25 -0200 Processing by RoomsController#index as HTML

User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (10.8ms)
Rendered layouts/_header-admin.html.erb (4.7ms)

Completed 200 OK in 99ms (Views: 91.0ms | ActiveRecord: 1.1ms)

Started GET “/filtro/Audit%C3%B3rios” for 127.0.0.1 at 2018-11-19 23:21:19 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"Auditórios"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (10.0ms)
Rendered layouts/_header-admin.html.erb (5.1ms)

Completed 200 OK in 86ms (Views: 80.5ms | ActiveRecord: 0.9ms)

Started GET “/appointments/1” for 127.0.0.1 at 2018-11-19 23:23:26 -0200 Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"1"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-11-19' AND room_id = '1')
Rendered appointments/show.html.erb within layouts/application (9.1ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.7ms)

Completed 200 OK in 67ms (Views: 60.9ms | ActiveRecord: 1.5ms)

 (46.0ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (41.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (14.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$1GmFxguaC4QsQ9I/HPhxUu5.MXs0tawaHMbMl9fqh2bmqem4g2XMe"], ["created_at", "2018-12-03 19:48:26.035199"], ["updated_at", "2018-12-03 19:48:26.035199"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$RrDX/F4TEgN6obJTZoVrYerD8c.ydFUWlZqkL8fqHb9emu.bQuVku"], ["created_at", "2018-12-03 19:48:26.283262"], ["updated_at", "2018-12-03 19:48:26.283262"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (43.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:26.304660"], ["updated_at", "2018-12-03 19:48:26.304660"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 160], ["LIMIT", 1]]
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 330], ["LIMIT", 1]]
SQL (45.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 330], ["room_id", 160], ["created_at", "2018-12-03 19:48:26.471807"], ["updated_at", "2018-12-03 19:48:26.471807"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"3", "id"=>"156"}
Appointment Load (0.8ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 156], ["LIMIT", 1]]
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 160], ["LIMIT", 1]]
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 330], ["LIMIT", 1]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (3.5ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.1ms)

UserMailer#status_notification: processed outbound mail in 426.6ms Sent mail to 123@123.com (3619.3ms) Date: Mon, 03 Dec 2018 17:48:27 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c05888b55ce_8b34ef0d436742@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c05888b35d5_8b34ef0d43668b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c05888b35d5_8b34ef0d43668b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c05888b35d5_8b34ef0d43668b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c05888b35d5_8b34ef0d43668b–

Completed 302 Found in 4073ms (ActiveRecord: 3.0ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$tB8zaoq6f5swsPKZwD6/..XYtopZSfps9BMWYSrZWKETl8i54OCGm"], ["created_at", "2018-12-03 19:48:31.038450"], ["updated_at", "2018-12-03 19:48:31.038450"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/3EdQhr3EjLzYiSpPzVZSesxqFRVUP/z1Zx99JOLrdP66BFrunimW"], ["created_at", "2018-12-03 19:48:31.201971"], ["updated_at", "2018-12-03 19:48:31.201971"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:31.206675"], ["updated_at", "2018-12-03 19:48:31.206675"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 161], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 332], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 332], ["room_id", 161], ["created_at", "2018-12-03 19:48:31.215878"], ["updated_at", "2018-12-03 19:48:31.215878"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"3"}, "status_old"=>"2", "id"=>"157"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 157], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 161], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 332], ["LIMIT", 1]]
SQL (0.3ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-12-03 19:48:31.226268"], ["id", 157]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 10.3ms Sent mail to 123@123.com (3022.3ms) Date: Mon, 03 Dec 2018 17:48:31 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c05888f3b36e_8b34ef0d4369bb@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c05888f3a39a_8b34ef0d43683b";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c05888f3a39a_8b34ef0d43683b Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi reprovado p= elo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c05888f3a39a_8b34ef0d43683b Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi reprovad= o pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c05888f3a39a_8b34ef0d43683b–

Completed 302 Found in 3044ms (ActiveRecord: 1.4ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$5QI4UBOGpccn9TJUDE7G6OXxYa8ZrmRcR1JGCtnBPcnZWDuNNGNaK"], ["created_at", "2018-12-03 19:48:34.526325"], ["updated_at", "2018-12-03 19:48:34.526325"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$xVu9bb.PYn6636Rffy3b.OOIAqvOGycqNwDGox2X0.HvER3cBFmwu"], ["created_at", "2018-12-03 19:48:34.688344"], ["updated_at", "2018-12-03 19:48:34.688344"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:34.692239"], ["updated_at", "2018-12-03 19:48:34.692239"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 162], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 334], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 334], ["room_id", 162], ["created_at", "2018-12-03 19:48:34.700875"], ["updated_at", "2018-12-03 19:48:34.700875"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 10.5ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$HYvXB98gADkdjC8gE.4d.OhOzV7xdyrnxV1sxpQ6JY/Da7DO1l3dG"], ["created_at", "2018-12-03 19:48:34.878230"], ["updated_at", "2018-12-03 19:48:34.878230"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$aNBi2JIh5o6l.b7M2qXz0.RPumTCexzO2IS2LnuRPzmftNYA90vce"], ["created_at", "2018-12-03 19:48:35.041736"], ["updated_at", "2018-12-03 19:48:35.041736"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:35.046499"], ["updated_at", "2018-12-03 19:48:35.046499"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 163], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 336], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 336], ["room_id", 163], ["created_at", "2018-12-03 19:48:35.055921"], ["updated_at", "2018-12-03 19:48:35.055921"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 159], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$ZJoMjZE/XB5dDxx94OvnF.G1Sn/2UB41ZFL6snXUj9gKc/U0yiUx."], ["created_at", "2018-12-03 19:48:35.226359"], ["updated_at", "2018-12-03 19:48:35.226359"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"337"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "H_ZATQmlCjp6GasKh-rjsw"], ["updated_at", "2018-12-03 19:48:35.234854"], ["id", 337]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-12-03 19:48:35.238661"], ["reset_sent_at", "2018-12-03 19:48:35.237867"], ["id", 337]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.8ms)

UserMailer#password_reset: processed outbound mail in 11.8ms Sent mail to teste@unb.com.br (2998.6ms) Date: Mon, 03 Dec 2018 17:48:35 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5c0588933e695_8b34ef0d4372bd@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c0588933d6b2_8b34ef0d43718d";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c0588933d6b2_8b34ef0d43718d Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/H_ZATQmlCjp6GasKh-rjsw/edit?email=3D= teste%40unb.com.br

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5c0588933d6b2_8b34ef0d43718d Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/H_ZATQmlCjp6GasKh-rjsw/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5c0588933d6b2_8b34ef0d43718d–

Redirected to test.host/login Completed 302 Found in 3023ms (ActiveRecord: 1.5ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$FVW5.0ES0Cf46/AJdzufb.G/IKkph182QJPQft4udLvYpixzQQ2ey"], ["created_at", "2018-12-03 19:48:38.478334"], ["updated_at", "2018-12-03 19:48:38.478334"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.5ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.3ms)

UserMailer#password_reset: processed outbound mail in 10.0ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$xNRoGgF76WTEUi5yYDNg/up8Td2r73VnpT7w3ejhMNg93DeN5q/Ce"], ["created_at", "2018-12-03 19:48:38.679668"], ["updated_at", "2018-12-03 19:48:38.679668"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"339"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$SOjYqE4LeYo.Aa8lbgSUJumuaq3qL60bO2.G7jQP6GoaWRRXItUo2"], ["updated_at", "2018-12-03 19:48:38.870791"], ["id", 339]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 191ms (ActiveRecord: 1.2ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$4Pd7b/NdeG1qg1DoW9UK8uklWeQH2NQK2NS2CKVkvPVvJb7HHGuxa"], ["created_at", "2018-12-03 19:48:39.039530"], ["updated_at", "2018-12-03 19:48:39.039530"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"340"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$RKRwrbiW.fIBu4YhQ3WPJOLV03SzlfjFvJUXGVakPSJq88Uh2rzwC"], ["created_at", "2018-12-03 19:48:39.214994"], ["updated_at", "2018-12-03 19:48:39.214994"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"341"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 285ms (Views: 5.1ms | ActiveRecord: 1.3ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$3HGKMvM6pR8gNS9KMrOlv.7CvBStsNsjKr72LQHfLi1whHh0hbhQ."], ["created_at", "2018-12-03 19:48:39.687095"], ["updated_at", "2018-12-03 19:48:39.687095"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"342"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.2ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 167ms (Views: 4.4ms | ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$5yI4PQoeexzttXerqol1je81Fd2t7PfoIehYmZ9quOXhzBqKj2mcy"], ["created_at", "2018-12-03 19:48:40.021919"], ["updated_at", "2018-12-03 19:48:40.021919"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"343"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.5ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.6ms)

 (0.4ms)  ROLLBACK
 (0.5ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cnMo3NkCnv4xIGWubHtYDushQtPi5YEdVfIynpCRPiIKqFmlbsWBO"], ["created_at", "2018-12-03 19:48:40.270344"], ["updated_at", "2018-12-03 19:48:40.270344"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 24.1ms

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$BzZ/rde9iAkbhPZQOxUPXey9RhstqoymMOL8/E0JH7Ru0rqnlLqNS"], ["created_at", "2018-12-03 19:48:40.485819"], ["updated_at", "2018-12-03 19:48:40.485819"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.7ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uvyyXRtogENurMCVFbkm5eH79qkGZxwREfuU50KF2sXDqHI3/2rEy"], ["created_at", "2018-12-03 19:48:40.661274"], ["updated_at", "2018-12-03 19:48:40.661274"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:40.665003"], ["updated_at", "2018-12-03 19:48:40.665003"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 164], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 346], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 346], ["room_id", 164], ["created_at", "2018-12-03 19:48:40.672008"], ["updated_at", "2018-12-03 19:48:40.672008"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.0ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$9mzoDAJh2avdXg.775xIeedp.MaOqsk6oFsEnp3MJl9qiBDbRGxlW"], ["created_at", "2018-12-03 19:48:40.847722"], ["updated_at", "2018-12-03 19:48:40.847722"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:40.850950"], ["updated_at", "2018-12-03 19:48:40.850950"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 165], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 347], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 347], ["room_id", 165], ["created_at", "2018-12-03 19:48:40.856943"], ["updated_at", "2018-12-03 19:48:40.856943"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.6ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YEPglJJRpzOolJ1xOiEpeeq/ufGUUKwFWU2tz0vLhzs7z/KbxDyWK"], ["created_at", "2018-12-03 19:48:41.067197"], ["updated_at", "2018-12-03 19:48:41.067197"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:41.071124"], ["updated_at", "2018-12-03 19:48:41.071124"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:41 -0200

 (0.3ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:41.110328"], ["last_sign_in_at", "2018-12-03 19:48:41.110328"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:41.111216"], ["id", 348]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"166"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:16:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.5ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 166], ["LIMIT", 1]]
 (0.6ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$pMFbKhsNMl4PoKHfpcrhTOJdm03ExGzTKfPGY3qhf7yLyU7h2WFR2"], ["created_at", "2018-12-03 19:48:41.759597"], ["updated_at", "2018-12-03 19:48:41.759597"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:41.764325"], ["updated_at", "2018-12-03 19:48:41.764325"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:41 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:41.770057"], ["last_sign_in_at", "2018-12-03 19:48:41.770057"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:41.771072"], ["id", 349]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"167"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:16:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$QXdCbR/UbWK.y/dILfa8K.y8hL8P3tEnKzehMd62NlcSt3AwB8fYO"], ["created_at", "2018-12-03 19:48:42.161430"], ["updated_at", "2018-12-03 19:48:42.161430"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:42.165051"], ["updated_at", "2018-12-03 19:48:42.165051"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:42 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:42.170756"], ["last_sign_in_at", "2018-12-03 19:48:42.170756"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:42.171722"], ["id", 350]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"168", "user_id"=>"350"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:32:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:42 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"168", "user_id"=>"350"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:33:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Yc4TwwwZcHN1Y5jpa2pcPu8aI5wVGzNknig214TDpJx2K7Bj52tc."], ["created_at", "2018-12-03 19:48:42.760716"], ["updated_at", "2018-12-03 19:48:42.760716"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:42.765064"], ["updated_at", "2018-12-03 19:48:42.765064"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:42 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:42.771034"], ["last_sign_in_at", "2018-12-03 19:48:42.771034"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:42.772068"], ["id", 351]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"169", "user_id"=>"351"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:32:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:42 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"169", "user_id"=>"351"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:33:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 AND "appointments"."user_id" = $3 AND "appointments"."status" = $4 LIMIT $5  [["appointment_date", "22-06-2018"], ["room_id", 169], ["user_id", 351], ["status", 2], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YjT2PXDNrn8JGRkoOwkW/OlAX6iVd8jMA6CEcBvCx1hQzRW5rtrw6"], ["created_at", "2018-12-03 19:48:43.398271"], ["updated_at", "2018-12-03 19:48:43.398271"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:43.402988"], ["updated_at", "2018-12-03 19:48:43.402988"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:43 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:43.410192"], ["last_sign_in_at", "2018-12-03 19:48:43.410192"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:43.411073"], ["id", 352]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"170", "user_id"=>"352"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:32:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:43 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"170", "user_id"=>"352"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:33:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 AND "appointments"."user_id" = $3 AND "appointments"."status" = $4 LIMIT $5  [["appointment_date", "22-06-2018"], ["room_id", 170], ["user_id", 352], ["status", 1], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$3vBpONltx5yCvHTu.M5c4eBwpqUo7FscB8MrykT0a1NtTFyfBfF5S"], ["created_at", "2018-12-03 19:48:44.100097"], ["updated_at", "2018-12-03 19:48:44.100097"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:44.104217"], ["updated_at", "2018-12-03 19:48:44.104217"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:44 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:44.109146"], ["last_sign_in_at", "2018-12-03 19:48:44.109146"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:44.109973"], ["id", 353]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "status"=>"2", "room_id"=>"171"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:51:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 171], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$1Hu7IA63BuGen0Dc9UXniekfPDHSBvPf2bs0Ms6LY8/P5CMg3ZLaW"], ["created_at", "2018-12-03 19:48:44.486293"], ["updated_at", "2018-12-03 19:48:44.486293"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:44.490880"], ["updated_at", "2018-12-03 19:48:44.490880"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-03 17:48:44 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:44.496460"], ["last_sign_in_at", "2018-12-03 19:48:44.496460"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:44.497352"], ["id", 354]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "status"=>"2", "room_id"=>"172"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:51:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$6sGmJz8V1dT4Ao1FSdUuvO3r6tS4FlCWg8qV7kz7S0z2MyUBJb4xW"], ["created_at", "2018-12-03 19:48:44.907090"], ["updated_at", "2018-12-03 19:48:44.907090"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:44.910707"], ["updated_at", "2018-12-03 19:48:44.910707"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 173], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 355], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 355], ["room_id", 173], ["created_at", "2018-12-03 19:48:44.917492"], ["updated_at", "2018-12-03 19:48:44.917492"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/appointments/173” for 127.0.0.1 at 2018-12-03 17:48:44 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:44.921861"], ["last_sign_in_at", "2018-12-03 19:48:44.921861"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:44.922737"], ["id", 355]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"173"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 173], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-12-03' AND room_id = '173')
Rendered appointments/show.html.erb within layouts/application (59.5ms)
Rendered layouts/_header-user.html.erb (33.4ms)

Completed 200 OK in 2337ms (Views: 2320.3ms | ActiveRecord: 0.8ms)

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$wjPOTasY3mg0dMgn.D8LfuXrfOIiryiBxGF11wsJVoLJxpzTnzHyC"], ["created_at", "2018-12-03 19:48:47.484844"], ["updated_at", "2018-12-03 19:48:47.484844"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:47.488156"], ["updated_at", "2018-12-03 19:48:47.488156"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 174], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 356], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 356], ["room_id", 174], ["created_at", "2018-12-03 19:48:47.494239"], ["updated_at", "2018-12-03 19:48:47.494239"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 174], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 356], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 356], ["room_id", 174], ["created_at", "2018-12-03 19:48:47.500280"], ["updated_at", "2018-12-03 19:48:47.500280"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-12-03 17:48:47 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:47.504056"], ["last_sign_in_at", "2018-12-03 19:48:47.504056"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:47.504787"], ["id", 356]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 356]]
Rendered appointments/my_appointments.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (3.0ms)

Completed 200 OK in 102ms (Views: 51.2ms | ActiveRecord: 0.4ms)

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$kLhWQdUEmgrj1gB1NyJ0MeMxztiq18qWBew79H05AtRdHRKkUdI7u"], ["created_at", "2018-12-03 19:48:47.776907"], ["updated_at", "2018-12-03 19:48:47.776907"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:47.780611"], ["updated_at", "2018-12-03 19:48:47.780611"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 175], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 357], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 357], ["room_id", 175], ["created_at", "2018-12-03 19:48:47.787907"], ["updated_at", "2018-12-03 19:48:47.787907"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 175], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 357], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 357], ["room_id", 175], ["created_at", "2018-12-03 19:48:47.795467"], ["updated_at", "2018-12-03 19:48:47.795467"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-12-03 17:48:47 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:47.799525"], ["last_sign_in_at", "2018-12-03 19:48:47.799525"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:47.800277"], ["id", 357]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.4ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 357]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.4ms)
Rendered layouts/_header-user.html.erb (2.9ms)

Completed 200 OK in 50ms (Views: 48.5ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$ftexSRCglOnewLHFTOMa9OvBbaER3k7QJEsMmfcG6IxBRkYzusydG"], ["created_at", "2018-12-03 19:48:48.018822"], ["updated_at", "2018-12-03 19:48:48.018822"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:48.022111"], ["updated_at", "2018-12-03 19:48:48.022111"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 176], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 358], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 358], ["room_id", 176], ["created_at", "2018-12-03 19:48:48.028061"], ["updated_at", "2018-12-03 19:48:48.028061"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/appointments/167” for 127.0.0.1 at 2018-12-03 17:48:48 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:48.031737"], ["last_sign_in_at", "2018-12-03 19:48:48.031737"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:48.032418"], ["id", 358]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#destroy as HTML

Parameters: {"id"=>"167"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:110:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 LIMIT $2  [["appointment_date", "22-06-2018"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$UOcE7P812LhvQJqQspLcs.pz5AW2FevxZZWC5sUKnr3a.7Fx5FYHq"], ["created_at", "2018-12-03 19:48:48.416067"], ["updated_at", "2018-12-03 19:48:48.416067"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:48.419276"], ["updated_at", "2018-12-03 19:48:48.419276"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$axEWEJodWZyHbr.gYAQ/9O2uFOnND/Zq7CsVFZHV8AgX4mgniy0o6"], ["created_at", "2018-12-03 19:48:48.581837"], ["updated_at", "2018-12-03 19:48:48.581837"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 360], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 360], ["room_id", 177], ["created_at", "2018-12-03 19:48:48.591765"], ["updated_at", "2018-12-03 19:48:48.591765"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-03 00:00:00"], ["updated_at", "2018-12-03 19:48:48.598223"], ["id", 168]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 360], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 360], ["room_id", 177], ["created_at", "2018-12-03 19:48:48.609120"], ["updated_at", "2018-12-03 19:48:48.609120"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-09 00:00:00"], ["updated_at", "2018-12-03 19:48:48.613861"], ["id", 169]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/weeks-appointments” for 127.0.0.1 at 2018-12-03 17:48:48 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:48.619365"], ["last_sign_in_at", "2018-12-03 19:48:48.619365"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:48.620363"], ["id", 359]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#weeks_appointments as HTML

Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date BETWEEN '2018-12-03' AND '2018-12-09')
Rendering appointments/weeks_appointments.html.erb within layouts/application
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 360], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 360], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
Rendered appointments/weeks_appointments.html.erb within layouts/application (9.9ms)
Rendered layouts/_header-admin.html.erb (3.5ms)

Completed 200 OK in 71ms (Views: 65.9ms | ActiveRecord: 1.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TyP20lxAXRBoBTI/YE3UWeeD8caI1u8vyVJ8JQYlGV.zG.GWL5zLq"], ["created_at", "2018-12-03 19:48:48.865420"], ["updated_at", "2018-12-03 19:48:48.865420"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:48.868987"], ["updated_at", "2018-12-03 19:48:48.868987"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Ui4IiUa/rk5y5TsvvqC3jufNix4EXK8a3oKuRMpdxgC5ep/Dtnfxi"], ["created_at", "2018-12-03 19:48:49.031154"], ["updated_at", "2018-12-03 19:48:49.031154"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 178], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 362], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 362], ["room_id", 178], ["created_at", "2018-12-03 19:48:49.038021"], ["updated_at", "2018-12-03 19:48:49.038021"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-03 00:00:00"], ["updated_at", "2018-12-03 19:48:49.041479"], ["id", 170]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 178], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 362], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 362], ["room_id", 178], ["created_at", "2018-12-03 19:48:49.048397"], ["updated_at", "2018-12-03 19:48:49.048397"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-09 00:00:00"], ["updated_at", "2018-12-03 19:48:49.051634"], ["id", 171]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/weeks-appointments” for 127.0.0.1 at 2018-12-03 17:48:49 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:49.055014"], ["last_sign_in_at", "2018-12-03 19:48:49.055014"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:49.055727"], ["id", 361]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#weeks_appointments as HTML

Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date BETWEEN '2018-12-03' AND '2018-12-09')
Rendering appointments/weeks_appointments.html.erb within layouts/application
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 362], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 178], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 362], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 178], ["LIMIT", 1]]
Rendered appointments/weeks_appointments.html.erb within layouts/application (6.7ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 52ms (Views: 48.9ms | ActiveRecord: 1.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$BWhS.GQrjJo8VA9lX5bUNuUh4ZqG0mVhqqXFNRKMTB0uba9brjUbe"], ["created_at", "2018-12-03 19:48:49.349181"], ["updated_at", "2018-12-03 19:48:49.349181"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-12-03 17:48:49 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:49.353949"], ["last_sign_in_at", "2018-12-03 19:48:49.353949"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:49.354761"], ["id", 363]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML

Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (85.6ms)
Rendered layouts/_header-admin.html.erb (4.0ms)

Completed 200 OK in 160ms (Views: 158.6ms | ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$FqxVkl7uFiaQRPuj5nGM/uRptzJ67XVBIPoPOCoCdcH5ggk0b7OPO"], ["created_at", "2018-12-03 19:48:49.687065"], ["updated_at", "2018-12-03 19:48:49.687065"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-12-03 17:48:49 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:49.691713"], ["last_sign_in_at", "2018-12-03 19:48:49.691713"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:49.692492"], ["id", 364]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML Redirected to www.example.com/ Filter chain halted as :is_admin? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$vDn3V8ne4uUcsPSHXSiXs.VauG9PqFeqY/.fntHqfBRLPjS6nPryW"], ["created_at", "2018-12-03 19:48:49.861536"], ["updated_at", "2018-12-03 19:48:49.861536"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-12-03 17:48:49 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:49.866210"], ["last_sign_in_at", "2018-12-03 19:48:49.866210"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:49.867017"], ["id", 365]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.6ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 58ms (Views: 55.9ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.wlrwPlb3dktdfuqkX1zcuGbgGU4RLvMkEYR3Kgsplvr8PY/stUBC"], ["created_at", "2018-12-03 19:48:50.091984"], ["updated_at", "2018-12-03 19:48:50.091984"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-12-03 17:48:50 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:50.096178"], ["last_sign_in_at", "2018-12-03 19:48:50.096178"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:50.096923"], ["id", 366]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (6.9ms)
Rendered layouts/_header-user.html.erb (3.2ms)

Completed 200 OK in 58ms (Views: 56.4ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN

Started GET “/rooms” for 127.0.0.1 at 2018-12-03 17:48:50 -0200 Processing by RoomsController#index as HTML Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

 (0.1ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$kktHh8Cv0Rh52JfvSfCn9.7R134/dNOAu7eZ0JcltHiLXKlAKTsnW"], ["created_at", "2018-12-03 19:48:50.335181"], ["updated_at", "2018-12-03 19:48:50.335181"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:50.339324"], ["updated_at", "2018-12-03 19:48:50.339324"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/179” for 127.0.0.1 at 2018-12-03 17:48:50 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:50.343628"], ["last_sign_in_at", "2018-12-03 19:48:50.343628"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:50.344531"], ["id", 367]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"179"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 179], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 56ms (Views: 53.5ms | ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Ma4ctSQnJrpBlJGXRMW.Y.Vna1miPtsaLXpwILbI5UUBiCcpAXZ7K"], ["created_at", "2018-12-03 19:48:50.569303"], ["updated_at", "2018-12-03 19:48:50.569303"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:50.573322"], ["updated_at", "2018-12-03 19:48:50.573322"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/180” for 127.0.0.1 at 2018-12-03 17:48:50 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:50.577685"], ["last_sign_in_at", "2018-12-03 19:48:50.577685"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:50.578442"], ["id", 368]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"180"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 180], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.7ms)
Rendered layouts/_header-user.html.erb (4.1ms)

Completed 200 OK in 62ms (Views: 59.9ms | ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:50.649800"], ["updated_at", "2018-12-03 19:48:50.649800"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/181” for 127.0.0.1 at 2018-12-03 17:48:50 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"181"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Mm.Pm1UrjfmTDPLTGac.3exBWxOm9mXCqHSiiJpwdMitd/FxaHY4u"], ["created_at", "2018-12-03 19:48:50.825641"], ["updated_at", "2018-12-03 19:48:50.825641"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:50.830151"], ["updated_at", "2018-12-03 19:48:50.830151"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/filtro/182” for 127.0.0.1 at 2018-12-03 17:48:50 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:50.835035"], ["last_sign_in_at", "2018-12-03 19:48:50.835035"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:50.835925"], ["id", 369]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"182"}
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.7ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (7.6ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 73ms (Views: 70.8ms | ActiveRecord: 0.7ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:50.918417"], ["updated_at", "2018-12-03 19:48:50.918417"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/filtro/183” for 127.0.0.1 at 2018-12-03 17:48:50 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"183"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$zJqoPqnAYH1PVrzxSxYEAuQxpvHKVBRwVLMpYOhZGZvqESGSenVqy"], ["created_at", "2018-12-03 19:48:51.089037"], ["updated_at", "2018-12-03 19:48:51.089037"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:51.092471"], ["updated_at", "2018-12-03 19:48:51.092471"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/184/edit” for 127.0.0.1 at 2018-12-03 17:48:51 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:51.096437"], ["last_sign_in_at", "2018-12-03 19:48:51.096437"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:51.097427"], ["id", 370]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"184"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 184], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (7.3ms)
Rendered layouts/_header-user.html.erb (3.3ms)

Completed 200 OK in 65ms (Views: 62.9ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$gzAxDszWNSXcj9qkRfWLgOmoqkxKhEoFQUiz7Q4LQIUEDYD1mF3Vu"], ["created_at", "2018-12-03 19:48:51.336665"], ["updated_at", "2018-12-03 19:48:51.336665"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:51.340353"], ["updated_at", "2018-12-03 19:48:51.340353"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/185/edit” for 127.0.0.1 at 2018-12-03 17:48:51 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:51.344738"], ["last_sign_in_at", "2018-12-03 19:48:51.344738"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:51.345541"], ["id", 371]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"185"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 185], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (7.0ms)
Rendered layouts/_header-user.html.erb (3.5ms)

Completed 200 OK in 61ms (Views: 59.0ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:51.415780"], ["updated_at", "2018-12-03 19:48:51.415780"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/186” for 127.0.0.1 at 2018-12-03 17:48:51 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"186"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7XDf2GLs7HIkR6YAeC4teuVHRWaJ3ZSm/E.OfWjkA1Xc.sZ.0bMmy"], ["created_at", "2018-12-03 19:48:51.586422"], ["updated_at", "2018-12-03 19:48:51.586422"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:51 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:51.592804"], ["last_sign_in_at", "2018-12-03 19:48:51.592804"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:51.593612"], ["id", 372]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:144:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$kD55gpWI6gRl4b8H9MwUaeZX9ArR216.KWJgqWxv9xApt1sxwsdqC"], ["created_at", "2018-12-03 19:48:52.021204"], ["updated_at", "2018-12-03 19:48:52.021204"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:52 -0200

 (0.5ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:52.031714"], ["last_sign_in_at", "2018-12-03 19:48:52.031714"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:52.033486"], ["id", 373]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:144:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Wp.1bbp0l2vp5o7PRtsQtOTgGoz1r0I8sMyD4rp8gsWlJdgorpCoK"], ["created_at", "2018-12-03 19:48:52.484312"], ["updated_at", "2018-12-03 19:48:52.484312"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:52 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:52.489998"], ["last_sign_in_at", "2018-12-03 19:48:52.489998"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:52.490891"], ["id", 374]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:157:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3RzaXLBfjOMQ1QFrvevJlu/05WXiRMhoVlcTVIF4/fw6sLNsbhetC"], ["created_at", "2018-12-03 19:48:52.879816"], ["updated_at", "2018-12-03 19:48:52.879816"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:52 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:52.885395"], ["last_sign_in_at", "2018-12-03 19:48:52.885395"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:52.886246"], ["id", 375]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:157:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ONeTRcFKHpj2aWitXgq3QuIzVV6ajyr5QIBXzvQsisoOup/buwlXK"], ["created_at", "2018-12-03 19:48:53.277488"], ["updated_at", "2018-12-03 19:48:53.277488"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:53 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:53.283808"], ["last_sign_in_at", "2018-12-03 19:48:53.283808"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:53.284787"], ["id", 376]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:173:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$g6Rl57MjRbvTY10xpQbcKOqjQox7wXJXUm3QUkI/hEB2MPpubiRRi"], ["created_at", "2018-12-03 19:48:53.665293"], ["updated_at", "2018-12-03 19:48:53.665293"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:53.669606"], ["updated_at", "2018-12-03 19:48:53.669606"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/187” for 127.0.0.1 at 2018-12-03 17:48:53 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:53.675326"], ["last_sign_in_at", "2018-12-03 19:48:53.675326"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:53.676291"], ["id", 377]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"187"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:192:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "New Fake Name"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$YvmbTM/ozRwR9XXTfETPOexUkzpN9BAjnzUoIZ4M974u3/GyxSYYC"], ["created_at", "2018-12-03 19:48:54.081585"], ["updated_at", "2018-12-03 19:48:54.081585"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:54.086134"], ["updated_at", "2018-12-03 19:48:54.086134"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/188” for 127.0.0.1 at 2018-12-03 17:48:54 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:54.091583"], ["last_sign_in_at", "2018-12-03 19:48:54.091583"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:54.092459"], ["id", 378]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"188"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:192:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$gz45FKxXSLO3lHyc155dnetJBnThL6.dNVbqrGIoRkzwM/aUkT592"], ["created_at", "2018-12-03 19:48:54.480172"], ["updated_at", "2018-12-03 19:48:54.480172"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:54.484756"], ["updated_at", "2018-12-03 19:48:54.484756"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/189” for 127.0.0.1 at 2018-12-03 17:48:54 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:54.490114"], ["last_sign_in_at", "2018-12-03 19:48:54.490114"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:54.491025"], ["id", 379]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"189"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:206:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$qQCZ.Fkz7MOEHgU7hbn/kupX41xc3mhyTPSOYP2F0g/K1.OyaGCFu"], ["created_at", "2018-12-03 19:48:54.880334"], ["updated_at", "2018-12-03 19:48:54.880334"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:54.884765"], ["updated_at", "2018-12-03 19:48:54.884765"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/190” for 127.0.0.1 at 2018-12-03 17:48:54 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:54.890128"], ["last_sign_in_at", "2018-12-03 19:48:54.890128"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:54.890982"], ["id", 380]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"190"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:206:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ot/gU0uLcHmMZV2pcXHYze1smgUb8fcTsWqUn4JPYeyIkfzYRHmmW"], ["created_at", "2018-12-03 19:48:55.293545"], ["updated_at", "2018-12-03 19:48:55.293545"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-03 17:48:55 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:55.300155"], ["last_sign_in_at", "2018-12-03 19:48:55.300155"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:55.301117"], ["id", 381]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:222:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Hts1qPoqJCeVtvSZ3OYX/e57lodKfp.nJ2xdm91otuN/wNcubyCsu"], ["created_at", "2018-12-03 19:48:55.682514"], ["updated_at", "2018-12-03 19:48:55.682514"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:55.687262"], ["updated_at", "2018-12-03 19:48:55.687262"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/191” for 127.0.0.1 at 2018-12-03 17:48:55 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:55.692312"], ["last_sign_in_at", "2018-12-03 19:48:55.692312"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:55.693300"], ["id", 382]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"191"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:236:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$vR/81W8x3BDtzoCuD400EOPu6V.XJIsSmgG9V/ee6qRkIMqN2ei1i"], ["created_at", "2018-12-03 19:48:56.087586"], ["updated_at", "2018-12-03 19:48:56.087586"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:56.091929"], ["updated_at", "2018-12-03 19:48:56.091929"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/192” for 127.0.0.1 at 2018-12-03 17:48:56 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:56.096722"], ["last_sign_in_at", "2018-12-03 19:48:56.096722"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:56.097490"], ["id", 383]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"192"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:236:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$hbhWhn5LR/hCdRliIiWPU.LnZPQKpheWx5O8PnF.kuMQf21sRHI2i"], ["created_at", "2018-12-03 19:48:56.554620"], ["updated_at", "2018-12-03 19:48:56.554620"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:56.557968"], ["updated_at", "2018-12-03 19:48:56.557968"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/193” for 127.0.0.1 at 2018-12-03 17:48:56 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:56.561580"], ["last_sign_in_at", "2018-12-03 19:48:56.561580"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:56.562264"], ["id", 384]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"193"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:250:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ItTtmVlvACAM018O0oxuSORRUiEUzUR2sM1eb5FrUeWRzeFOxzZ62"], ["created_at", "2018-12-03 19:48:56.943601"], ["updated_at", "2018-12-03 19:48:56.943601"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:56.948421"], ["updated_at", "2018-12-03 19:48:56.948421"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/194” for 127.0.0.1 at 2018-12-03 17:48:56 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:56.953419"], ["last_sign_in_at", "2018-12-03 19:48:56.953419"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:56.954252"], ["id", 385]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"194"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:250:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$U8StnRh2ulyWkJyzMUJiRuZSnPbWOHecNbqag9aCPFav2kUdcUVAC"], ["created_at", "2018-12-03 19:48:57.343679"], ["updated_at", "2018-12-03 19:48:57.343679"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/search-rooms” for 127.0.0.1 at 2018-12-03 17:48:57 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:57.348590"], ["last_sign_in_at", "2018-12-03 19:48:57.348590"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:57.349385"], ["id", 386]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_rooms as HTML

Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (4.8ms)
Rendered layouts/_header-user.html.erb (3.1ms)

Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$zFRiRAEaIFGhb2FduFfTW.motVg1A50oISE8YY0Y18U3rw/ItpwKa"], ["created_at", "2018-12-03 19:48:57.572817"], ["updated_at", "2018-12-03 19:48:57.572817"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:57.576537"], ["updated_at", "2018-12-03 19:48:57.576537"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:57.580011"], ["updated_at", "2018-12-03 19:48:57.580011"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:57.583337"], ["updated_at", "2018-12-03 19:48:57.583337"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 195], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 387], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 387], ["room_id", 195], ["created_at", "2018-12-03 19:48:57.590645"], ["updated_at", "2018-12-03 19:48:57.590645"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/search-result” for 127.0.0.1 at 2018-12-03 17:48:57 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:57.594719"], ["last_sign_in_at", "2018-12-03 19:48:57.594719"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:57.595800"], ["id", 387]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML

Parameters: {"date_search"=>"22-06-2018", "time_search"=>"10:00:00"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:289:in `block (6 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Room Load (1.5ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '22-06-2018' AND start_time = '10:00:00' AND status = 2)
 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$wWLjZ9eLhfr8CxrPSQh2AuWEau38PJpcomMadk26StyuKZ50gNnvy"], ["created_at", "2018-12-03 19:48:58.076550"], ["updated_at", "2018-12-03 19:48:58.076550"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:58.080263"], ["updated_at", "2018-12-03 19:48:58.080263"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:58.083130"], ["updated_at", "2018-12-03 19:48:58.083130"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:48:58.085927"], ["updated_at", "2018-12-03 19:48:58.085927"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 198], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 388], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 388], ["room_id", 198], ["created_at", "2018-12-03 19:48:58.092211"], ["updated_at", "2018-12-03 19:48:58.092211"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/search-result” for 127.0.0.1 at 2018-12-03 17:48:58 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-03 19:48:58.096054"], ["last_sign_in_at", "2018-12-03 19:48:58.096054"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-03 19:48:58.096803"], ["id", 388]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML Redirected to www.example.com/search-rooms Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$qg0hxVZhl0otj5z92MmzX.Pgvt8QE66pPBJfOOn7UYeG0jZZXQtSG"], ["created_at", "2018-12-03 19:50:11.079976"], ["updated_at", "2018-12-03 19:50:11.079976"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$NDvMtl7F5FbTD5SJHk7lIutCPQ07Xa03BjBtDfuHLdiJTg4QQVSH6"], ["created_at", "2018-12-03 19:50:11.244144"], ["updated_at", "2018-12-03 19:50:11.244144"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.1ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:50:11.266149"], ["updated_at", "2018-12-03 19:50:11.266149"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 201], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 390], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 390], ["room_id", 201], ["created_at", "2018-12-03 19:50:11.309950"], ["updated_at", "2018-12-03 19:50:11.309950"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"3", "id"=>"174"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 174], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 201], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 390], ["LIMIT", 1]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.4ms)

UserMailer#status_notification: processed outbound mail in 303.4ms Sent mail to 123@123.com (3022.2ms) Date: Mon, 03 Dec 2018 17:50:11 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c0588f39cea6_8e06d50d882673@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c0588f39b059_8e06d50d882513";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c0588f39b059_8e06d50d882513 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c0588f39b059_8e06d50d882513 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c0588f39b059_8e06d50d882513–

Completed 302 Found in 3340ms (ActiveRecord: 1.5ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$JPc/R4zh0uE/SKCCf0JOuO6LJG/IZDL.DzZAWjPICRvYJRh3gqkN6"], ["created_at", "2018-12-03 19:50:14.912241"], ["updated_at", "2018-12-03 19:50:14.912241"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$VHOFwVI2HgNmO/rlKZz8suxC4QzEQksmnwrvEIicPJ0Jd/k0xljsO"], ["created_at", "2018-12-03 19:50:15.076158"], ["updated_at", "2018-12-03 19:50:15.076158"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:50:15.079804"], ["updated_at", "2018-12-03 19:50:15.079804"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 202], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 392], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 392], ["room_id", 202], ["created_at", "2018-12-03 19:50:15.087069"], ["updated_at", "2018-12-03 19:50:15.087069"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"3"}, "status_old"=>"2", "id"=>"175"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 175], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 202], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 392], ["LIMIT", 1]]
SQL (0.5ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-12-03 19:50:15.096132"], ["id", 175]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.4ms Sent mail to 123@123.com (3012.3ms) Date: Mon, 03 Dec 2018 17:50:15 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c0588f71b015_8e06d50d882814@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c0588f71a21b_8e06d50d882799";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c0588f71a21b_8e06d50d882799 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi reprovado p= elo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c0588f71a21b_8e06d50d882799 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi reprovad= o pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c0588f71a21b_8e06d50d882799–

Completed 302 Found in 3031ms (ActiveRecord: 2.1ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$6i4OJfx7AvNfScyEioeQtukWIJYOoovsFDN/OIaesvt8zPrNpccku"], ["created_at", "2018-12-03 19:50:18.373564"], ["updated_at", "2018-12-03 19:50:18.373564"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$xQzAoME1Cvy3YhVHvX.0juZQlv2bZygFx9ksY6DVlPbXzh7Rzof1i"], ["created_at", "2018-12-03 19:50:18.537001"], ["updated_at", "2018-12-03 19:50:18.537001"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:50:18.539910"], ["updated_at", "2018-12-03 19:50:18.539910"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 203], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 394], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 394], ["room_id", 203], ["created_at", "2018-12-03 19:50:18.546244"], ["updated_at", "2018-12-03 19:50:18.546244"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.7ms

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$5TUhXeaCxz/JNylMWbRrq.ljVse9LfVWNd4tApYh9hHNMjptdMMIq"], ["created_at", "2018-12-03 19:50:18.721542"], ["updated_at", "2018-12-03 19:50:18.721542"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$x1wP953zth5n8shZiV6y6OaQYPCSqEIkW.pKRcAdCn9pE2mK9xaA2"], ["created_at", "2018-12-03 19:50:18.885468"], ["updated_at", "2018-12-03 19:50:18.885468"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-03 19:50:18.890127"], ["updated_at", "2018-12-03 19:50:18.890127"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 204], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 396], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 396], ["room_id", 204], ["created_at", "2018-12-03 19:50:18.899600"], ["updated_at", "2018-12-03 19:50:18.899600"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 177], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (1.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (1.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$iadzPhhiwFpEaZOBk4eCGeUlSdK00HvxR0wQsOhdBdhAREoft/OeO"], ["created_at", "2018-12-03 19:50:38.642568"], ["updated_at", "2018-12-03 19:50:38.642568"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"397"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "91gnxTksn-8S5nYQX54G8A"], ["updated_at", "2018-12-03 19:50:38.659503"], ["id", 397]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-12-03 19:50:38.664120"], ["reset_sent_at", "2018-12-03 19:50:38.663577"], ["id", 397]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.4ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.5ms)

UserMailer#password_reset: processed outbound mail in 315.1ms Sent mail to teste@unb.com.br (3089.6ms) Date: Mon, 03 Dec 2018 17:50:38 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5c05890ef26d4_8f7cff0d0757e7@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c05890ef087c_8f7cff0d0756f1";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c05890ef087c_8f7cff0d0756f1 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/91gnxTksn-8S5nYQX54G8A/edit?email=3D= teste%40unb.com.br

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5c05890ef087c_8f7cff0d0756f1 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/91gnxTksn-8S5nYQX54G8A/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5c05890ef087c_8f7cff0d0756f1–

Redirected to test.host/login Completed 302 Found in 3426ms (ActiveRecord: 2.9ms)

 (0.9ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$Ixe2gtilhLTlkYOpOY1EDeQMZBzX0KDMoP8ztwwG3XF4L.aA2O0ZO"], ["created_at", "2018-12-03 19:50:42.340481"], ["updated_at", "2018-12-03 19:50:42.340481"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 9.2ms

 (0.4ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$pWEKAl713dBIo7fs8yELiu.HVCud2WqJKr2PBc/Yv0B2E1G3ZGC.e"], ["created_at", "2018-12-03 19:50:42.518984"], ["updated_at", "2018-12-03 19:50:42.518984"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"399"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$9hP99351AeL.YEJL7XjSl./kEjSYvIe4ghng/0JMI89ZBDzHmOwsC"], ["updated_at", "2018-12-03 19:50:42.682548"], ["id", 399]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 163ms (ActiveRecord: 1.5ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$zKelAMVqX/n8D2LCnC1It.Ca2GkOTSZYwkHGWp4H47PC3dVceJJuW"], ["created_at", "2018-12-03 19:50:42.849084"], ["updated_at", "2018-12-03 19:50:42.849084"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"400"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.7ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$SlG49DmWAKinF0lwdKxRH.44jp8yLaTld3jUrY6.bJW2UN9ydM.1u"], ["created_at", "2018-12-03 19:50:43.022445"], ["updated_at", "2018-12-03 19:50:43.022445"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"401"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.1ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 179ms (Views: 3.8ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$ZfxeL8OaSIkKCT7hpA.I8O01wo6UIKuu3RVr0FCVScfxvp4jrDG8O"], ["created_at", "2018-12-03 19:50:43.367874"], ["updated_at", "2018-12-03 19:50:43.367874"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"402"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 166ms (Views: 3.7ms | ActiveRecord: 1.3ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$6.cOLlXkrTA4z8wB9B32ie7.SlvvmazMgsgemcjYDIzUMahvMl.BS"], ["created_at", "2018-12-03 19:50:43.701697"], ["updated_at", "2018-12-03 19:50:43.701697"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"403"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.4ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.5ms)

 (0.2ms)  ROLLBACK

Started GET “/” for 127.0.0.1 at 2018-12-03 17:52:18 -0200

 (1.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC

Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (5.6ms)

Completed 200 OK in 359ms (Views: 348.3ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-12-03 17:52:21 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (57.1ms)
Rendered users/sessions/new.html.erb within layouts/application (177.7ms)

Completed 200 OK in 289ms (Views: 255.1ms | ActiveRecord: 4.6ms)

Started POST “/login” for 127.0.0.1 at 2018-12-03 17:52:26 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LhXkR4Kj4SGywORhsa8SJVd6oQI5jgfRd4OIv1uwCxAA1r95xIFzA9xHXwv3Rsm6ojEhZdNEitFn2eGDSG3flg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (2.2ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]

Completed 401 Unauthorized in 402ms (ActiveRecord: 2.2ms)

Processing by Users::SessionsController#new as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"LhXkR4Kj4SGywORhsa8SJVd6oQI5jgfRd4OIv1uwCxAA1r95xIFzA9xHXwv3Rsm6ojEhZdNEitFn2eGDSG3flg==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (10.1ms)
Rendered users/sessions/new.html.erb within layouts/application (21.9ms)

Completed 200 OK in 261ms (Views: 94.9ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/new” for 127.0.0.1 at 2018-12-03 17:52:30 -0200 Processing by PasswordResetsController#new as HTML

Rendering password_resets/new.html.erb within layouts/application
Rendered layouts/_password_reset_email-form.erb (2.1ms)
Rendered password_resets/new.html.erb within layouts/application (15.4ms)

Completed 200 OK in 77ms (Views: 74.6ms | ActiveRecord: 0.0ms)

Started POST “/password_resets” for 127.0.0.1 at 2018-12-03 17:52:33 -0200 Processing by PasswordResetsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"PedpuAi5fOGGOgiZXjmaeEEb5Fi2U73vGEPu1rvMzZdyqO8+Qz/FYyQVXLgsIkqJrbf203uMMRpvCqqKaf9OnQ==", "password_reset"=>"[FILTERED]", "commit"=>"Enviar"}
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.5ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "VPtskN_rWaQNxASXnS1DOA"], ["updated_at", "2018-12-03 19:52:33.135222"], ["id", 3]]
 (197.8ms)  COMMIT
 (0.4ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-12-03 19:52:33.339882"], ["reset_sent_at", "2018-12-03 19:52:33.337757"], ["id", 3]]
 (169.7ms)  COMMIT
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.8ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.0ms)

UserMailer#password_reset: processed outbound mail in 299.8ms Sent mail to andre_luisferreira@hotmail.com (8493.7ms) Date: Mon, 03 Dec 2018 17:52:33 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5c058981cd1f9_91417548dc5648e@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c058981cb2d4_91417548dc563f6";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c058981cb2d4_91417548dc563f6 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/VPtskN_rWaQNxASXnS1DOA/edit?email=3D= andre_luisferreira%40hotmail.com

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5c058981cb2d4_91417548dc563f6 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/VPtskN_rWaQNxASXnS1DOA/e= dit?email=3Dandre_luisferreira%40hotmail.com”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5c058981cb2d4_91417548dc563f6–

Redirected to localhost:3000/login Completed 302 Found in 9207ms (ActiveRecord: 370.4ms)

Started GET “/login” for 127.0.0.1 at 2018-12-03 17:52:42 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (3.9ms)
Rendered users/sessions/new.html.erb within layouts/application (15.3ms)

Completed 200 OK in 75ms (Views: 72.8ms | ActiveRecord: 0.0ms)

Started GET “/password_resets/VPtskN_rWaQNxASXnS1DOA/edit?email=andre_luisferreira%40hotmail.com” for 127.0.0.1 at 2018-12-03 17:56:34 -0200 Processing by PasswordResetsController#edit as HTML

Parameters: {"email"=>"andre_luisferreira@hotmail.com", "id"=>"VPtskN_rWaQNxASXnS1DOA"}
User Load (1.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Rendered layouts/_password_reset-form.html.erb (3.1ms)
Rendered password_resets/edit.html.erb within layouts/application (12.5ms)

Completed 200 OK in 94ms (Views: 88.6ms | ActiveRecord: 1.7ms)

Started PATCH “/password_resets/VPtskN_rWaQNxASXnS1DOA” for 127.0.0.1 at 2018-12-03 17:56:42 -0200 Processing by PasswordResetsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"ygRXxqaIO6M84KSBiEibZL6+4HxtWUvcu7ZHa9vWRmZ6H0zdXHE3x3DDQcdNxgtV7vrrVnGIBNQQtqkLqL8EwA==", "email"=>"andre_luisferreira@hotmail.com", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Alterar Senha", "id"=>"VPtskN_rWaQNxASXnS1DOA"}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.3ms)  BEGIN
SQL (0.7ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$Tss6l5.liSXn4JVf3I/xgOaXWzuXVwh6nDt1TjpiNpqBxF5KQ/Ihi"], ["updated_at", "2018-12-03 19:56:42.428145"], ["id", 3]]
 (66.9ms)  COMMIT

Redirected to localhost:3000/login Completed 302 Found in 281ms (ActiveRecord: 68.5ms)

Started GET “/login” for 127.0.0.1 at 2018-12-03 17:56:42 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (4.4ms)
Rendered users/sessions/new.html.erb within layouts/application (18.0ms)

Completed 200 OK in 89ms (Views: 86.8ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-12-03 17:56:50 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"2VJmVGZSqTDfhC9aHVH4cdRdiLEJq2S0/FLi+UYXSRVpSX1PnKulVJOnyhzY32hAhBmDmxV6K7xXUgyZNX4Lsw==", "user"=>{"email"=>"andre_luisferreira@hotmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "andre_luisferreira@hotmail.com"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-12-03 19:56:51.027476"], ["last_sign_in_at", "2018-11-20 00:07:08.463535"], ["sign_in_count", 7], ["updated_at", "2018-12-03 19:56:51.028448"], ["id", 3]]
 (163.8ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 489ms (ActiveRecord: 164.9ms)

Started GET “/” for 127.0.0.1 at 2018-12-03 17:56:51 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered home/index.html.erb within layouts/home (3.2ms)
Rendered layouts/_header-user.html.erb (3.8ms)

Completed 200 OK in 57ms (Views: 54.5ms | ActiveRecord: 0.4ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-12-03 17:56:53 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"FiJQoQtu6bbMSGicsRnVzCfVSH85sp63Kh0HHF4SFGpBps9U+yECmc9HPCou50I7IvIE3I0w0UiL780EUSvpKQ=="}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.4ms)  BEGIN
 (0.4ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 1611ms (ActiveRecord: 1.6ms)

Started GET “/” for 127.0.0.1 at 2018-12-03 17:56:54 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.3ms)

Completed 200 OK in 49ms (Views: 47.5ms | ActiveRecord: 0.0ms)

Started GET “/login” for 127.0.0.1 at 2018-12-03 17:56:55 -0200 Processing by Users::SessionsController#new as HTML

Rendering users/sessions/new.html.erb within layouts/application
Rendered layouts/_login-form.html.erb (8.7ms)
Rendered users/sessions/new.html.erb within layouts/application (22.2ms)

Completed 200 OK in 64ms (Views: 63.0ms | ActiveRecord: 0.0ms)

Started POST “/login” for 127.0.0.1 at 2018-12-03 17:56:59 -0200 Processing by Users::SessionsController#create as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"KlnwQcyyBy19vbc57G2hDgwNs2ipqiNedu4kJwZ5KusmrkKhckdRJirVzAB6XRSnnYGTnTVnj7K/zokbilHqyg==", "user"=>{"email"=>"admin@admin.admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["email", "admin@admin.admin"], ["LIMIT", 1]]
 (0.2ms)  BEGIN
SQL (0.4ms)  UPDATE "users" SET "current_sign_in_at" = $1, "last_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5  [["current_sign_in_at", "2018-12-03 19:57:00.088253"], ["last_sign_in_at", "2018-11-20 01:03:41.965504"], ["sign_in_count", 11], ["updated_at", "2018-12-03 19:57:00.089157"], ["id", 1]]
 (168.1ms)  COMMIT

Redirected to localhost:3000/backoffice Completed 302 Found in 357ms (ActiveRecord: 169.5ms)

Started GET “/backoffice” for 127.0.0.1 at 2018-12-03 17:57:00 -0200 Processing by Backoffice::DashboardController#index as HTML

Rendering backoffice/dashboard/index.html.erb within layouts/backoffice
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered backoffice/dashboard/index.html.erb within layouts/backoffice (5.5ms)
Rendered layouts/_header-admin.html.erb (3.6ms)

Completed 200 OK in 87ms (Views: 72.5ms | ActiveRecord: 0.5ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-12-03 17:57:02 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (51.4ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (4.8ms)

Completed 200 OK in 116ms (Views: 97.3ms | ActiveRecord: 8.9ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-12-03 17:57:04 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (4.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (2.8ms)

Completed 200 OK in 81ms (Views: 58.5ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-12-03 17:57:06 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"y4e9S/9kjWXyDWt+fVelZ21IUhxXIXB+1tSLuYe2/YP3KzRerSxK7d90lfGCMlEMc+hRWFDAanl9Is5e32qmJg==", "appointment"=>{"status"=>"2"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (0.6ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 2], ["updated_at", "2018-12-03 19:57:06.592910"], ["id", 1]]
 (64.3ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (1.5ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.5ms)

UserMailer#status_notification: processed outbound mail in 30.3ms Sent mail to andre_luisferreira@hotmail.com (3072.2ms) Date: Mon, 03 Dec 2018 17:57:06 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5c058a92a9694_914175468456641@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c058a92a7b83_914175468456549";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c058a92a7b83_914175468456549 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi aprovado pelo a= dministrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c058a92a7b83_914175468456549 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi aprovado pel= o administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c058a92a7b83_914175468456549–

Completed 302 Found in 3188ms (ActiveRecord: 66.9ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-12-03 17:57:09 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.5ms)  SELECT "appointments".* FROM "appointments"
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (11.9ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 81ms (Views: 77.2ms | ActiveRecord: 1.9ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-12-03 17:57:18 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (5.3ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.9ms)

Completed 200 OK in 85ms (Views: 80.6ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-12-03 17:57:20 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"pEyKwxsxASPuJTDfJcJZhdCQqSBfOL9rtPYaPGLEhqqY4APWSXnGq8NczlDap63uzjCqZFjZpWwfAF/bOhjdDw==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.3ms)  BEGIN
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
SQL (2.0ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-12-03 19:57:20.142455"], ["id", 1]]
 (158.5ms)  COMMIT

Redirected to localhost:3000/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.9ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.6ms)

UserMailer#status_notification: processed outbound mail in 21.4ms Sent mail to andre_luisferreira@hotmail.com (3053.5ms) Date: Mon, 03 Dec 2018 17:57:20 -0200 From: noreply@example.com To: andre_luisferreira@hotmail.com Message-ID: <5c058aa0514e2_9141754b3456823@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c058aa04feb5_9141754b345678f";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c058aa04feb5_9141754b345678f Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio Andre Luis

Informamos que seu pedido de reserva para a sala B303 foi reprovado pelo = administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c058aa04feb5_9141754b345678f Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio Andre Luis</p>

<p>Informamos que seu pedido de reserva para a sala B303 foi reprovado pe= lo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c058aa04feb5_9141754b345678f–

Completed 302 Found in 3256ms (ActiveRecord: 162.7ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-12-03 17:57:23 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments"
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (13.6ms)
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 72ms (Views: 67.6ms | ActiveRecord: 2.0ms)

Started GET “/appointments/1/edit” for 127.0.0.1 at 2018-12-03 17:57:25 -0200 Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"1"}
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (3.7ms)
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.2ms)

Completed 200 OK in 62ms (Views: 58.4ms | ActiveRecord: 0.9ms)

Started PATCH “/appointments/1” for 127.0.0.1 at 2018-12-03 17:57:26 -0200 Processing by AppointmentsController#update as HTML

Parameters: {"utf8"=>"✓", "authenticity_token"=>"G7M0pAN/p37oHsVjrPTUCg4g/DZu02gjC/lMj8YLbREnH72xUTdg9sVnO+xTkSBhEID/cmkyciSgDwlontc2tA==", "appointment"=>{"status"=>"3"}, "commit"=>"Update", "id"=>"1"}
Appointment Load (0.6ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
 (0.3ms)  COMMIT

Redirected to localhost:3000/all-appointments Completed 302 Found in 14ms (ActiveRecord: 2.2ms)

Started GET “/all-appointments” for 127.0.0.1 at 2018-12-03 17:57:26 -0200 Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.3ms)  SELECT "appointments".* FROM "appointments"
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.2ms)
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
Rendered layouts/_header-admin.html.erb (3.4ms)

Completed 200 OK in 62ms (Views: 58.6ms | ActiveRecord: 1.4ms)

Started DELETE “/logout” for 127.0.0.1 at 2018-12-03 17:57:46 -0200 Processing by Users::SessionsController#destroy as HTML

Parameters: {"authenticity_token"=>"V77fC1aYX3epS4CjuKFqENncK4Mud4rykkSRKnstpW4H3kflqXNiTQsdB/R/xTAdkbMxHgE8XHsCUgfEwjI0ug=="}
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2  [["id", 1], ["LIMIT", 1]]
 (0.2ms)  BEGIN
 (0.2ms)  COMMIT

Redirected to localhost:3000/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms)

Started GET “/” for 127.0.0.1 at 2018-12-03 17:57:46 -0200 Processing by HomeController#index as HTML

Rendering home/index.html.erb within layouts/home
Rendered home/index.html.erb within layouts/home (1.6ms)

Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.0ms)

 (46.1ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (41.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (19.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$e2Es4UsyeY8AlHrdvkvWluodkft5ZXIJNLWQh3F5WxQmKp8SrsIC2"], ["created_at", "2018-12-05 15:29:18.004626"], ["updated_at", "2018-12-05 15:29:18.004626"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.5ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$MURj735YjCQ3OUn54T1U9eKHsLeubuOd6.pWqoccGVhSdo95EEnBq"], ["created_at", "2018-12-05 15:29:18.245117"], ["updated_at", "2018-12-05 15:29:18.245117"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (34.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:18.263505"], ["updated_at", "2018-12-05 15:29:18.263505"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 205], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 405], ["LIMIT", 1]]
SQL (40.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 405], ["room_id", 205], ["created_at", "2018-12-05 15:29:18.393912"], ["updated_at", "2018-12-05 15:29:18.393912"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"2"}, "status_old"=>"3", "id"=>"178"}
Appointment Load (0.9ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 178], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 205], ["LIMIT", 1]]
User Load (0.7ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 405], ["LIMIT", 1]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (4.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (1.4ms)

UserMailer#status_notification: processed outbound mail in 505.4ms Sent mail to 123@123.com (4737.2ms) Date: Wed, 05 Dec 2018 13:29:19 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c07eecf409e_3cec9090d42692c@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c07eecf219a_3cec9090d4268e2";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c07eecf219a_3cec9090d4268e2 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado pe= lo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c07eecf219a_3cec9090d4268e2 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi aprovado=

pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c07eecf219a_3cec9090d4268e2–

Completed 302 Found in 5262ms (ActiveRecord: 2.9ms)

 (0.9ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$RreXhCpXIbZDI8u86f7vo.ddLy1utQY5ZN/4.TXlPUBg76uL1vK2a"], ["created_at", "2018-12-05 15:29:24.018001"], ["updated_at", "2018-12-05 15:29:24.018001"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$NIWzAdmz7l1/fK36Iccyr.cxuBmmKQU7UHTJKt53.AQtPGrBJgBPS"], ["created_at", "2018-12-05 15:29:24.179928"], ["updated_at", "2018-12-05 15:29:24.179928"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:24.183322"], ["updated_at", "2018-12-05 15:29:24.183322"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 206], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 407], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 407], ["room_id", 206], ["created_at", "2018-12-05 15:29:24.189908"], ["updated_at", "2018-12-05 15:29:24.189908"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"status"=>"3"}, "status_old"=>"2", "id"=>"179"}
Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 179], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 206], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 407], ["LIMIT", 1]]
SQL (0.9ms)  UPDATE "appointments" SET "status" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["status", 3], ["updated_at", "2018-12-05 15:29:24.199140"], ["id", 179]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/all-appointments

Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 9.6ms Sent mail to 123@123.com (3973.8ms) Date: Wed, 05 Dec 2018 13:29:24 -0200 From: noreply@example.com To: 123@123.com Message-ID: <5c07eed434682_3cec9090d427143@andre-VPCEG27FM.mail> Subject: Status da sua reserva Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c07eed433874_3cec9090d427081";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c07eed433874_3cec9090d427081 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Notifica=C3=A7=C3=A3o de Reserva

Usu=C3=A1rio testesilva

Informamos que seu pedido de reserva para a sala Fake-123 foi reprovado p= elo administrador do sistema.

Atenciosamente, =

Equipe do Reserva-de-Salas UnB.

—-==_mimepart_5c07eed433874_3cec9090d427081 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Notifica=C3=A7=C3=A3o de Reserva</h1>

<p>Usu=C3=A1rio testesilva</p>

<p>Informamos que seu pedido de reserva para a sala Fake-123 foi reprovad= o pelo administrador do sistema.</p>

<p>Atenciosamente, =

Equipe do Reserva-de-Salas UnB.</p>

</body>

</html>

—-==_mimepart_5c07eed433874_3cec9090d427081–

Completed 302 Found in 3994ms (ActiveRecord: 3.4ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$oB.j9PVPzky0jGTO/akoDuF2ng3DYWOwv42N2skG9eo/wOK0wPJWi"], ["created_at", "2018-12-05 15:29:28.452211"], ["updated_at", "2018-12-05 15:29:28.452211"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$YknUO3k3ubFA/s7AhAqC5OZR31bVdAetf9actjosQX.KJZW/NP.Xm"], ["created_at", "2018-12-05 15:29:28.616939"], ["updated_at", "2018-12-05 15:29:28.616939"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:28.620116"], ["updated_at", "2018-12-05 15:29:28.620116"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 207], ["LIMIT", 1]]
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 409], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 409], ["room_id", 207], ["created_at", "2018-12-05 15:29:28.626482"], ["updated_at", "2018-12-05 15:29:28.626482"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.8ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$jfTeJ.IdxWZszWjDtpsGbutrRhxtiM3XWewzPKyzLpicXT9GaDDl2"], ["created_at", "2018-12-05 15:29:28.800727"], ["updated_at", "2018-12-05 15:29:28.800727"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$TKFW0N4Ie84JAVSNuULnueVRtL.rYu2WZWGTNLiEjJCzuopY1CL9C"], ["created_at", "2018-12-05 15:29:28.959212"], ["updated_at", "2018-12-05 15:29:28.959212"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:28.961838"], ["updated_at", "2018-12-05 15:29:28.961838"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 208], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 411], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 411], ["room_id", 208], ["created_at", "2018-12-05 15:29:28.966936"], ["updated_at", "2018-12-05 15:29:28.966936"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 181], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$s2ytJXcolsoomJTNltgnX.5K8zfcEIRyYOuzreDiWXs3G49d2U336"], ["created_at", "2018-12-05 15:29:29.136946"], ["updated_at", "2018-12-05 15:29:29.136946"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"412"}
User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "reset_digest" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["reset_digest", "2P_zE_zfvmL3pIu-_5BJ_A"], ["updated_at", "2018-12-05 15:29:29.143819"], ["id", 412]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "updated_at" = $1, "reset_sent_at" = $2 WHERE "users"."id" = $3  [["updated_at", "2018-12-05 15:29:29.147046"], ["reset_sent_at", "2018-12-05 15:29:29.146423"], ["id", 412]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (1.6ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (1.1ms)

UserMailer#password_reset: processed outbound mail in 48.4ms Sent mail to teste@unb.com.br (3554.9ms) Date: Wed, 05 Dec 2018 13:29:29 -0200 From: noreply@example.com To: teste@unb.com.br Message-ID: <5c07eed93139b_3cec9090d42742a@andre-VPCEG27FM.mail> Subject: =?UTF-8?Q?Recupera=C3=A7=C3=A3o_de_senha?= Mime-Version: 1.0 Content-Type: multipart/alternative;

boundary="--==_mimepart_5c07eed92f0fe_3cec9090d4273c7";
charset=UTF-8

Content-Transfer-Encoding: 7bit

—-==_mimepart_5c07eed92f0fe_3cec9090d4273c7 Content-Type: text/plain;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

Para recadastrar sua senha clique no link abaixo:

localhost:3000/password_resets/2P_zE_zfvmL3pIu-_5BJ_A/edit?email=3D= teste%40unb.com.br

Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email.

—-==_mimepart_5c07eed92f0fe_3cec9090d4273c7 Content-Type: text/html;

charset=UTF-8

Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html> <html>

<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf=

-8“ />

  <style>
    /* Email styles need to be inline */
  </style>
</head>

<body>
  <h1>Recadastramento de Senha</h1>

<p>Para recadastrar sua senha clique no link abaixo:</p>

<a href=3D“localhost:3000/password_resets/2P_zE_zfvmL3pIu-_5BJ_A/e= dit?email=3Dteste%40unb.com.br”>Recadastrar senha</a>

<p> Se voc=C3=AA n=C3=A3o solicitou este recadastramento de senha, por favor = desconsidere este email. </p>

</body>

</html>

—-==_mimepart_5c07eed92f0fe_3cec9090d4273c7–

Redirected to test.host/login Completed 302 Found in 3614ms (ActiveRecord: 3.1ms)

 (0.7ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$JH2SlvmX8JzdMLe6cgk6IOO1Of.oaY2eaUcbCtfKGMH0I6V/VqnZS"], ["created_at", "2018-12-05 15:29:33.014567"], ["updated_at", "2018-12-05 15:29:33.014567"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.2ms)

UserMailer#password_reset: processed outbound mail in 8.4ms

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste@unb.com.br"], ["encrypted_password", "$2a$11$r.lkO3MUVJoc5FdDZoxPveYYjGGAqall4UXEuRA99THJeE8NLoHea"], ["created_at", "2018-12-05 15:29:33.213123"], ["updated_at", "2018-12-05 15:29:33.213123"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"414"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste@unb.com.br"], ["LIMIT", 1]]
 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "encrypted_password" = $1, "updated_at" = $2 WHERE "users"."id" = $3  [["encrypted_password", "$2a$11$pYdtGzOcZzfABFbI.viG/OtFv6J/u5Q.UlJSzZ7jbNGZxPFfYiKru"], ["updated_at", "2018-12-05 15:29:33.374564"], ["id", 414]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Redirected to test.host/login Completed 302 Found in 161ms (ActiveRecord: 2.6ms)

 (0.5ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$5Qsdg28iohA0DvIh8LSraOrIpFg06yoh/vT9TL0H0h.HNkVkdRcMq"], ["created_at", "2018-12-05 15:29:33.539643"], ["updated_at", "2018-12-05 15:29:33.539643"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#create as HTML

Parameters: {"password_reset"=>"[FILTERED]", "user"=>"415"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "naoexiste@unb.br"], ["LIMIT", 1]]
Rendering password_resets/new.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/new.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 31ms (Views: 30.3ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.5ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$vDhslfg0baih/UucdpYbR.ugkBZ8FreiP7VODSE7yk3i.9YF81CDu"], ["created_at", "2018-12-05 15:29:33.744803"], ["updated_at", "2018-12-05 15:29:33.744803"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"416"}
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.2ms)  SAVEPOINT active_record_1
 (0.4ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.7ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 427ms (Views: 26.6ms | ActiveRecord: 1.0ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$9ibiDNL2Mx.7XANAqW9g7uedrnlSOgJBpq6u6m3DVPf3v6AdRCPHK"], ["created_at", "2018-12-05 15:29:34.407732"], ["updated_at", "2018-12-05 15:29:34.407732"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"417"}
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
 (0.3ms)  SAVEPOINT active_record_1
 (0.3ms)  ROLLBACK TO SAVEPOINT active_record_1
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 163ms (Views: 3.4ms | ActiveRecord: 1.4ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "teste2@unb.com.br"], ["encrypted_password", "$2a$11$uvtWFpQpKdYti8bpswCU8Opw9yajbr32s3UvbeyBiqtEcnYLBnKfu"], ["created_at", "2018-12-05 15:29:34.735420"], ["updated_at", "2018-12-05 15:29:34.735420"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by PasswordResetsController#update as HTML

Parameters: {"email"=>"teste2@unb.com.br", "user"=>{"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "id"=>"418"}
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "teste2@unb.com.br"], ["LIMIT", 1]]
Rendering password_resets/edit.html.erb within layouts/application
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
Rendered password_resets/edit.html.erb within layouts/application (0.3ms)
Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.

Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms)

 (0.2ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$4r/Tj8Yp9Jf.lpyQ8SiXCeMi8FnkDLkSTf5Hqj5O9HIVhDCS5xC8u"], ["created_at", "2018-12-05 15:29:35.037714"], ["updated_at", "2018-12-05 15:29:35.037714"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.1ms

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$0LTZm/dBNsRUeriXXF0pP.YfWiOM1AqBfNw2VhNyZFsdQGd8gfAMK"], ["created_at", "2018-12-05 15:29:35.209710"], ["updated_at", "2018-12-05 15:29:35.209710"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/password_reset.html.erb within layouts/mailer
Rendered user_mailer/password_reset.html.erb within layouts/mailer (0.3ms)
Rendering user_mailer/password_reset.text.erb within layouts/mailer
Rendered user_mailer/password_reset.text.erb within layouts/mailer (0.1ms)

UserMailer#password_reset: processed outbound mail in 8.0ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$TddqkTeFYEEKHOakhT81vOyeoywNVmOSAyEjnhZyN49qkQHoRpyQ6"], ["created_at", "2018-12-05 15:29:35.382395"], ["updated_at", "2018-12-05 15:29:35.382395"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (1.1ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:35.385804"], ["updated_at", "2018-12-05 15:29:35.385804"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.8ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 209], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 421], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 421], ["room_id", 209], ["created_at", "2018-12-05 15:29:35.393105"], ["updated_at", "2018-12-05 15:29:35.393105"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.1ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 8.1ms

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$zKBF0nSwuvsLTJhn79X.Ne16KzA1MtmZ61fka65vihb1KbMJDO75i"], ["created_at", "2018-12-05 15:29:35.566680"], ["updated_at", "2018-12-05 15:29:35.566680"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:35.569567"], ["updated_at", "2018-12-05 15:29:35.569567"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 210], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 422], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 422], ["room_id", 210], ["created_at", "2018-12-05 15:29:35.574500"], ["updated_at", "2018-12-05 15:29:35.574500"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
Rendering user_mailer/status_notification.html.erb within layouts/mailer
Rendered user_mailer/status_notification.html.erb within layouts/mailer (0.2ms)
Rendering user_mailer/status_notification.text.erb within layouts/mailer
Rendered user_mailer/status_notification.text.erb within layouts/mailer (0.1ms)

UserMailer#status_notification: processed outbound mail in 17.6ms

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$MdwOMgoSNDhNvOEabCyHMOKmQwNEpZQlyz6KGLoxVce4Pury45PsW"], ["created_at", "2018-12-05 15:29:35.858609"], ["updated_at", "2018-12-05 15:29:35.858609"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.9ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:35.862545"], ["updated_at", "2018-12-05 15:29:35.862545"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:35 -0200

 (0.6ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:35.901781"], ["last_sign_in_at", "2018-12-05 15:29:35.901781"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:35.902687"], ["id", 423]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"211"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:22:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 211], ["LIMIT", 1]]
 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$uCCIjEcYF6I3T7t/faQG1.1NlXyKb9hK..jByE1wVQR77rX40WUpu"], ["created_at", "2018-12-05 15:29:36.387079"], ["updated_at", "2018-12-05 15:29:36.387079"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:36.390107"], ["updated_at", "2018-12-05 15:29:36.390107"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:36 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:36.394351"], ["last_sign_in_at", "2018-12-05 15:29:36.394351"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:36.395222"], ["id", 424]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"212"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:22:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$w30jNQnsvkY5K8MJp5NjmO/zKskCVQ9OGsT.taBH1eJ4mltwqhwSm"], ["created_at", "2018-12-05 15:29:36.783316"], ["updated_at", "2018-12-05 15:29:36.783316"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:36.786300"], ["updated_at", "2018-12-05 15:29:36.786300"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:36 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:36.790776"], ["last_sign_in_at", "2018-12-05 15:29:36.790776"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:36.791538"], ["id", 425]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"213", "user_id"=>"425"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:38:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:37 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"213", "user_id"=>"425"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:39:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$/uQkD98YpcN/zKyN3Bu9OeZSahFx/n/qd/cKps4uUes8/d9c4VgsK"], ["created_at", "2018-12-05 15:29:37.364960"], ["updated_at", "2018-12-05 15:29:37.364960"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:37.368749"], ["updated_at", "2018-12-05 15:29:37.368749"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:37 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:37.373607"], ["last_sign_in_at", "2018-12-05 15:29:37.373607"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:37.374453"], ["id", 426]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"214", "user_id"=>"426"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:38:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:37 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"214", "user_id"=>"426"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:39:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 AND "appointments"."user_id" = $3 AND "appointments"."status" = $4 LIMIT $5  [["appointment_date", "22-06-2018"], ["room_id", 214], ["user_id", 426], ["status", 2], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$OVBeBEJOAk4OtTuAWWHl8eoMjxtIab4VMomwcNaj9uh4LFC8gXyC2"], ["created_at", "2018-12-05 15:29:37.991524"], ["updated_at", "2018-12-05 15:29:37.991524"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:37.995733"], ["updated_at", "2018-12-05 15:29:37.995733"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:38 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:38.001567"], ["last_sign_in_at", "2018-12-05 15:29:38.001567"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:38.002487"], ["id", 427]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"215", "user_id"=>"427"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:38:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>' Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:38 -0200 Processing by AppointmentsController#create as

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2", "room_id"=>"215", "user_id"=>"427"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:39:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 AND "appointments"."user_id" = $3 AND "appointments"."status" = $4 LIMIT $5  [["appointment_date", "22-06-2018"], ["room_id", 215], ["user_id", 427], ["status", 1], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$LIMqfpVL2NuomGzc/Rl5Ku.28OOIn49wCAlXrsjmjM7dTSZ9TVqaK"], ["created_at", "2018-12-05 15:29:38.641491"], ["updated_at", "2018-12-05 15:29:38.641491"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:38.644639"], ["updated_at", "2018-12-05 15:29:38.644639"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:38 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:38.648476"], ["last_sign_in_at", "2018-12-05 15:29:38.648476"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:38.649136"], ["id", 428]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "status"=>"2", "room_id"=>"216"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 0ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:57:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 AND "appointments"."room_id" = $2 LIMIT $3  [["appointment_date", "22-06-2018"], ["room_id", 216], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$8huPYFo7hHM9ZLAMC7RmlOHFKJlqe8QKYmHqPJE8SwpwaWPnDaL5a"], ["created_at", "2018-12-05 15:29:39.013041"], ["updated_at", "2018-12-05 15:29:39.013041"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:39.016597"], ["updated_at", "2018-12-05 15:29:39.016597"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started POST “/appointments” for 127.0.0.1 at 2018-12-05 13:29:39 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:39.021052"], ["last_sign_in_at", "2018-12-05 15:29:39.021052"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:39.021832"], ["id", 429]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#create as HTML

Parameters: {"appointment_date"=>"22-06-2018", "start_time"=>"", "status"=>"2", "room_id"=>"217"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:57:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$aHLdjEZzLF5rlWo5YpSXxusGMuLCatTpeFE0CiS34sk6Q6In3854u"], ["created_at", "2018-12-05 15:29:39.517645"], ["updated_at", "2018-12-05 15:29:39.517645"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:39.521204"], ["updated_at", "2018-12-05 15:29:39.521204"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 218], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 430], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 430], ["room_id", 218], ["created_at", "2018-12-05 15:29:39.527807"], ["updated_at", "2018-12-05 15:29:39.527807"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/appointments/218” for 127.0.0.1 at 2018-12-05 13:29:39 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:39.531961"], ["last_sign_in_at", "2018-12-05 15:29:39.531961"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:39.532769"], ["id", 430]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#show as HTML

Parameters: {"id"=>"218"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 218], ["LIMIT", 1]]
Rendering appointments/show.html.erb within layouts/application
Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date >= '2018-12-03' AND room_id = '218')
Rendered appointments/show.html.erb within layouts/application (52.8ms)
Rendered layouts/_header-user.html.erb (31.8ms)

Completed 200 OK in 7383ms (Views: 7379.5ms | ActiveRecord: 1.1ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$cbmDbAGDpn/MOamOA42dIe2IC2P48uIVHUHQIjoakJn2iGN8u4SKq"], ["created_at", "2018-12-05 15:29:47.159728"], ["updated_at", "2018-12-05 15:29:47.159728"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:47.162980"], ["updated_at", "2018-12-05 15:29:47.162980"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 219], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 431], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 431], ["room_id", 219], ["created_at", "2018-12-05 15:29:47.168556"], ["updated_at", "2018-12-05 15:29:47.168556"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/appointments/185/edit” for 127.0.0.1 at 2018-12-05 13:29:47 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:47.172177"], ["last_sign_in_at", "2018-12-05 15:29:47.172177"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:47.172992"], ["id", 431]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#edit as HTML

Parameters: {"id"=>"185"}
Appointment Load (0.4ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."id" = $1 LIMIT $2  [["id", 185], ["LIMIT", 1]]
Rendering appointments/edit.html.erb within layouts/application
Rendered appointments/edit.html.erb within layouts/application (25.8ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 78ms (Views: 68.6ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$daglZBsl5TZNj8InvVczYOXCM/SKu8wMSDEo6auHKSt5hfWoLRuai"], ["created_at", "2018-12-05 15:29:47.417110"], ["updated_at", "2018-12-05 15:29:47.417110"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/all-appointments” for 127.0.0.1 at 2018-12-05 13:29:47 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:47.420613"], ["last_sign_in_at", "2018-12-05 15:29:47.420613"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:47.421292"], ["id", 432]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#all_appointments as HTML

Rendering appointments/all_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments"
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 3], ["LIMIT", 1]]
Rendered appointments/all_appointments.html.erb within layouts/application (9.1ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 51ms (Views: 48.1ms | ActiveRecord: 1.6ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$DVEDg.zr47/rj8yDhpvgiO4F56G8S8qItpNThCefLUmVMcKlSWLbK"], ["created_at", "2018-12-05 15:29:47.694046"], ["updated_at", "2018-12-05 15:29:47.694046"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:47.697963"], ["updated_at", "2018-12-05 15:29:47.697963"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 220], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 433], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 433], ["room_id", 220], ["created_at", "2018-12-05 15:29:47.704633"], ["updated_at", "2018-12-05 15:29:47.704633"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 220], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 433], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 433], ["room_id", 220], ["created_at", "2018-12-05 15:29:47.711395"], ["updated_at", "2018-12-05 15:29:47.711395"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-12-05 13:29:47 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:47.715459"], ["last_sign_in_at", "2018-12-05 15:29:47.715459"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:47.716376"], ["id", 433]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.7ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 433]]
Rendered appointments/my_appointments.html.erb within layouts/application (9.7ms)
Rendered layouts/_header-user.html.erb (4.5ms)

Completed 200 OK in 147ms (Views: 89.6ms | ActiveRecord: 0.7ms)

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$VOBy9d/3RIadqvtMHdkrE.RBBAhK0Z2QihU5VqcbbYOqKBQBPMshC"], ["created_at", "2018-12-05 15:29:48.069281"], ["updated_at", "2018-12-05 15:29:48.069281"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:48.072668"], ["updated_at", "2018-12-05 15:29:48.072668"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 221], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 434], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 434], ["room_id", 221], ["created_at", "2018-12-05 15:29:48.078361"], ["updated_at", "2018-12-05 15:29:48.078361"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.1ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 221], ["LIMIT", 1]]
User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 434], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 434], ["room_id", 221], ["created_at", "2018-12-05 15:29:48.083404"], ["updated_at", "2018-12-05 15:29:48.083404"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/my-appointments” for 127.0.0.1 at 2018-12-05 13:29:48 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:48.087308"], ["last_sign_in_at", "2018-12-05 15:29:48.087308"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:48.088195"], ["id", 434]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#my_appointments as HTML

Rendering appointments/my_appointments.html.erb within layouts/application
Appointment Load (0.6ms)  SELECT "appointments".* FROM "appointments" WHERE "appointments"."user_id" = $1  [["user_id", 434]]
Rendered appointments/my_appointments.html.erb within layouts/application (3.5ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 44ms (Views: 42.3ms | ActiveRecord: 0.6ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$wWfwvumwpcLuuxCUUk5Kp..QUv2rRoh8/394ujOddL1V8fhkwAC0m"], ["created_at", "2018-12-05 15:29:48.339609"], ["updated_at", "2018-12-05 15:29:48.339609"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:48.342478"], ["updated_at", "2018-12-05 15:29:48.342478"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 222], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 435], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 435], ["room_id", 222], ["created_at", "2018-12-05 15:29:48.347566"], ["updated_at", "2018-12-05 15:29:48.347566"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/appointments/190” for 127.0.0.1 at 2018-12-05 13:29:48 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:48.350807"], ["last_sign_in_at", "2018-12-05 15:29:48.350807"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:48.351521"], ["id", 435]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#destroy as HTML

Parameters: {"id"=>"190"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:144:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.3ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."appointment_date" = $1 LIMIT $2  [["appointment_date", "22-06-2018"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$4b48sI2kL.zs52gT0CQ7Qe9u71Q3NR27D8fj.CVrKaHakfa6EMtea"], ["created_at", "2018-12-05 15:29:48.746138"], ["updated_at", "2018-12-05 15:29:48.746138"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:48.749197"], ["updated_at", "2018-12-05 15:29:48.749197"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$b4SSubOlvUigGIQ5PYRQX.Vg.XU1S66FfLTcOduzpY7uPslWPJk82"], ["created_at", "2018-12-05 15:29:48.907193"], ["updated_at", "2018-12-05 15:29:48.907193"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 223], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 437], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 437], ["room_id", 223], ["created_at", "2018-12-05 15:29:48.914143"], ["updated_at", "2018-12-05 15:29:48.914143"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/appointments/191” for 127.0.0.1 at 2018-12-05 13:29:48 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:48.918954"], ["last_sign_in_at", "2018-12-05 15:29:48.918954"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:48.919843"], ["id", 436]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2"}, "id"=>"191"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:162:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."status" = $1 LIMIT $2  [["status", 2], ["LIMIT", 1]]
 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$mcFZqyKt.NUHhn6vgQFrTuVwfxuH6aO.Ze623vcG5BXQlhSqnJufK"], ["created_at", "2018-12-05 15:29:49.323598"], ["updated_at", "2018-12-05 15:29:49.323598"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:49.327814"], ["updated_at", "2018-12-05 15:29:49.327814"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$Sp4rrRxYurfC/pju7secEOLpOUfSyMSNxzmXns8d7YaSb3g5IG92e"], ["created_at", "2018-12-05 15:29:49.489089"], ["updated_at", "2018-12-05 15:29:49.489089"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 224], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 439], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 439], ["room_id", 224], ["created_at", "2018-12-05 15:29:49.496802"], ["updated_at", "2018-12-05 15:29:49.496802"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/appointments/192” for 127.0.0.1 at 2018-12-05 13:29:49 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:49.503024"], ["last_sign_in_at", "2018-12-05 15:29:49.503024"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:49.503970"], ["id", 438]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>"2"}, "id"=>"192"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:162:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TPwnX/Vg3vECcxR0eMJMYeskIen9/8oVn4T.hzBMno6PUwsTz9umu"], ["created_at", "2018-12-05 15:29:49.928288"], ["updated_at", "2018-12-05 15:29:49.928288"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:49.932712"], ["updated_at", "2018-12-05 15:29:49.932712"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$B0dd3zDEllCp7Nu4Zs8xh.LDTCEVGJkBZbNn7/sVhtckvZFtzROgK"], ["created_at", "2018-12-05 15:29:50.094940"], ["updated_at", "2018-12-05 15:29:50.094940"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 225], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 441], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 441], ["room_id", 225], ["created_at", "2018-12-05 15:29:50.103103"], ["updated_at", "2018-12-05 15:29:50.103103"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/appointments/193” for 127.0.0.1 at 2018-12-05 13:29:50 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:50.108885"], ["last_sign_in_at", "2018-12-05 15:29:50.108885"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:50.109756"], ["id", 440]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#update as HTML

Parameters: {"appointment"=>{"appointment_date"=>"22-06-2018", "start_time"=>"10:00:00", "status"=>""}, "id"=>"193"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/appointments_spec.rb:178:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Appointment Load (0.7ms)  SELECT  "appointments".* FROM "appointments" WHERE "appointments"."status" = $1 LIMIT $2  [["status", nil], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$v/X7hKDGe8B5Co/kvDYjEehV9IF6oijrwRoYAnNjHVOGnAfX74l2G"], ["created_at", "2018-12-05 15:29:50.630805"], ["updated_at", "2018-12-05 15:29:50.630805"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:50.634880"], ["updated_at", "2018-12-05 15:29:50.634880"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$DJGOjuGQapkexXPN3fTp6OmhneGRrWokRiCXS0hSb9RIiJlXcyraK"], ["created_at", "2018-12-05 15:29:50.795501"], ["updated_at", "2018-12-05 15:29:50.795501"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 226], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 443], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 443], ["room_id", 226], ["created_at", "2018-12-05 15:29:50.802627"], ["updated_at", "2018-12-05 15:29:50.802627"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-03 00:00:00"], ["updated_at", "2018-12-05 15:29:50.806339"], ["id", 194]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 226], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 443], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 443], ["room_id", 226], ["created_at", "2018-12-05 15:29:50.813220"], ["updated_at", "2018-12-05 15:29:50.813220"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-09 00:00:00"], ["updated_at", "2018-12-05 15:29:50.816718"], ["id", 195]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/weeks-appointments” for 127.0.0.1 at 2018-12-05 13:29:50 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:50.820513"], ["last_sign_in_at", "2018-12-05 15:29:50.820513"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:50.821372"], ["id", 442]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#weeks_appointments as HTML

Appointment Load (0.9ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date BETWEEN '2018-12-03' AND '2018-12-09')
Rendering appointments/weeks_appointments.html.erb within layouts/application
User Load (0.8ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 443], ["LIMIT", 1]]
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 226], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 443], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 226], ["LIMIT", 1]]
Rendered appointments/weeks_appointments.html.erb within layouts/application (7.1ms)
Rendered layouts/_header-admin.html.erb (3.3ms)

Completed 200 OK in 87ms (Views: 58.8ms | ActiveRecord: 2.3ms)

 (0.4ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cKBFfsiJNVv2lK9EUYTio.adhPI/NPbmMCyAiz.EJqvOjegFdCfuO"], ["created_at", "2018-12-05 15:29:51.141758"], ["updated_at", "2018-12-05 15:29:51.141758"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:51.145804"], ["updated_at", "2018-12-05 15:29:51.145804"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "123@123.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "123@123.com"], ["encrypted_password", "$2a$11$hwVuIei3gON52phO.u.gD.Yy1J1dhjetTWsPhu7xao1GHNA/73isq"], ["created_at", "2018-12-05 15:29:51.305130"], ["updated_at", "2018-12-05 15:29:51.305130"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 227], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 445], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 445], ["room_id", 227], ["created_at", "2018-12-05 15:29:51.312797"], ["updated_at", "2018-12-05 15:29:51.312797"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-03 00:00:00"], ["updated_at", "2018-12-05 15:29:51.316630"], ["id", 196]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.5ms)  SAVEPOINT active_record_1
Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 227], ["LIMIT", 1]]
User Load (0.5ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 445], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 445], ["room_id", 227], ["created_at", "2018-12-05 15:29:51.324169"], ["updated_at", "2018-12-05 15:29:51.324169"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "appointments" SET "appointment_date" = $1, "updated_at" = $2 WHERE "appointments"."id" = $3  [["appointment_date", "2018-12-09 00:00:00"], ["updated_at", "2018-12-05 15:29:51.327993"], ["id", 197]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/weeks-appointments” for 127.0.0.1 at 2018-12-05 13:29:51 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:51.332070"], ["last_sign_in_at", "2018-12-05 15:29:51.332070"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:51.332978"], ["id", 444]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by AppointmentsController#weeks_appointments as HTML

Appointment Load (0.8ms)  SELECT "appointments".* FROM "appointments" WHERE (appointment_date BETWEEN '2018-12-03' AND '2018-12-09')
Rendering appointments/weeks_appointments.html.erb within layouts/application
User Load (0.9ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 445], ["LIMIT", 1]]
Room Load (0.7ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 227], ["LIMIT", 1]]
CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 445], ["LIMIT", 1]]
CACHE Room Load (0.0ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 227], ["LIMIT", 1]]
Rendered appointments/weeks_appointments.html.erb within layouts/application (7.6ms)
Rendered layouts/_header-admin.html.erb (3.0ms)

Completed 200 OK in 51ms (Views: 46.8ms | ActiveRecord: 2.4ms)

 (0.7ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$7Qld9yP8veKuyYs2Mv3yYemsNAPyG5UKjQPbW.QRhmUXADhqTtQxO"], ["created_at", "2018-12-05 15:29:51.587634"], ["updated_at", "2018-12-05 15:29:51.587634"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-12-05 13:29:51 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:51.591915"], ["last_sign_in_at", "2018-12-05 15:29:51.591915"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:51.592835"], ["id", 446]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML

Rendering rooms/new.html.erb within layouts/application
Rendered rooms/new.html.erb within layouts/application (86.6ms)
Rendered layouts/_header-admin.html.erb (5.2ms)

Completed 200 OK in 198ms (Views: 180.6ms | ActiveRecord: 0.0ms)

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$NtjhUaRRB6qsX5gW0Yios.z0vlZsut40l/SSGAM.VU9zkAhakecdu"], ["created_at", "2018-12-05 15:29:51.999998"], ["updated_at", "2018-12-05 15:29:51.999998"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/new” for 127.0.0.1 at 2018-12-05 13:29:52 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.1ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:52.004357"], ["last_sign_in_at", "2018-12-05 15:29:52.004357"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:52.005333"], ["id", 447]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#new as HTML Redirected to www.example.com/ Filter chain halted as :is_admin? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.5ms)  ROLLBACK
 (0.5ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.5ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$JSEHKSk46R2sHnOEXhCkI.wPDu82vSbpZzYG0RXN/dN87hGU1Avta"], ["created_at", "2018-12-05 15:29:52.225326"], ["updated_at", "2018-12-05 15:29:52.225326"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-12-05 13:29:52 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:52.228975"], ["last_sign_in_at", "2018-12-05 15:29:52.228975"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:52.229679"], ["id", 448]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (5.5ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 44ms (Views: 42.3ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.6ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$aha1hauZWhwk4dXlNZRHwuERqxSQGDVqkdKMV0RNbwyuiojX43cV."], ["created_at", "2018-12-05 15:29:52.437628"], ["updated_at", "2018-12-05 15:29:52.437628"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms” for 127.0.0.1 at 2018-12-05 13:29:52 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.6ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:52.441712"], ["last_sign_in_at", "2018-12-05 15:29:52.441712"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:52.442586"], ["id", 449]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#index as HTML

Rendering rooms/index.html.erb within layouts/application
Room Load (0.4ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/index.html.erb within layouts/application (5.3ms)
Rendered layouts/_header-user.html.erb (2.8ms)

Completed 200 OK in 44ms (Views: 42.4ms | ActiveRecord: 0.4ms)

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN

Started GET “/rooms” for 127.0.0.1 at 2018-12-05 13:29:52 -0200 Processing by RoomsController#index as HTML Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$YprMtXHQeO.5rIuiv66EseX8uoGKhczczj0nWmuXtNXTfJy0W96R."], ["created_at", "2018-12-05 15:29:52.662373"], ["updated_at", "2018-12-05 15:29:52.662373"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:52.666317"], ["updated_at", "2018-12-05 15:29:52.666317"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/228” for 127.0.0.1 at 2018-12-05 13:29:52 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:52.670271"], ["last_sign_in_at", "2018-12-05 15:29:52.670271"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:52.671216"], ["id", 450]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"228"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 228], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (1.6ms)
Rendered layouts/_header-user.html.erb (5.2ms)

Completed 200 OK in 106ms (Views: 97.2ms | ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$FiW9pYjqkjyIJgjYe4UO3OuTDQJCnyh0ryfg.ciKrOB8UDAq9bzW2"], ["created_at", "2018-12-05 15:29:53.011482"], ["updated_at", "2018-12-05 15:29:53.011482"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.015420"], ["updated_at", "2018-12-05 15:29:53.015420"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/229” for 127.0.0.1 at 2018-12-05 13:29:53 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:53.019614"], ["last_sign_in_at", "2018-12-05 15:29:53.019614"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:53.020515"], ["id", 451]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#show as HTML

Parameters: {"id"=>"229"}
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 229], ["LIMIT", 1]]
Rendering rooms/show.html.erb within layouts/application
Rendered rooms/show.html.erb within layouts/application (0.5ms)
Rendered layouts/_header-user.html.erb (2.5ms)

Completed 200 OK in 40ms (Views: 38.1ms | ActiveRecord: 0.4ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.067932"], ["updated_at", "2018-12-05 15:29:53.067932"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/230” for 127.0.0.1 at 2018-12-05 13:29:53 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"230"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$xdGfr0eRo6mjMfjjPpjPr.E600SNXdDcAaW.9EyEIRa0benAfPrOi"], ["created_at", "2018-12-05 15:29:53.232106"], ["updated_at", "2018-12-05 15:29:53.232106"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.235017"], ["updated_at", "2018-12-05 15:29:53.235017"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/filtro/231” for 127.0.0.1 at 2018-12-05 13:29:53 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:53.238175"], ["last_sign_in_at", "2018-12-05 15:29:53.238175"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:53.238826"], ["id", 452]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"231"}
Rendering rooms/filtro.html.erb within layouts/application
Room Load (0.6ms)  SELECT "rooms".* FROM "rooms"
Rendered rooms/filtro.html.erb within layouts/application (4.6ms)
Rendered layouts/_header-user.html.erb (2.7ms)

Completed 200 OK in 50ms (Views: 48.6ms | ActiveRecord: 0.6ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.295563"], ["updated_at", "2018-12-05 15:29:53.295563"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started GET “/filtro/232” for 127.0.0.1 at 2018-12-05 13:29:53 -0200 Processing by RoomsController#filtro as HTML

Parameters: {"id"=>"232"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$cJC.r8QFrug0xt.cjo6UteCEI5x/VXSP2LM6.CScCB.JK6rlTHSxi"], ["created_at", "2018-12-05 15:29:53.461007"], ["updated_at", "2018-12-05 15:29:53.461007"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.464878"], ["updated_at", "2018-12-05 15:29:53.464878"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/233/edit” for 127.0.0.1 at 2018-12-05 13:29:53 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:53.468612"], ["last_sign_in_at", "2018-12-05 15:29:53.468612"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:53.469433"], ["id", 453]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"233"}
Room Load (0.5ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 233], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (16.5ms)
Rendered layouts/_header-user.html.erb (4.6ms)

Completed 200 OK in 167ms (Views: 102.0ms | ActiveRecord: 0.5ms)

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$i6c3KuJ0Dtg.d.VbRiGlOeY/TaZr.pZqVC96/W4G0qYl6TgiQ2nNq"], ["created_at", "2018-12-05 15:29:53.829670"], ["updated_at", "2018-12-05 15:29:53.829670"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.832762"], ["updated_at", "2018-12-05 15:29:53.832762"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/234/edit” for 127.0.0.1 at 2018-12-05 13:29:53 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:53.836080"], ["last_sign_in_at", "2018-12-05 15:29:53.836080"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:53.836815"], ["id", 454]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#edit as HTML

Parameters: {"id"=>"234"}
Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 234], ["LIMIT", 1]]
Rendering rooms/edit.html.erb within layouts/application
Rendered rooms/edit.html.erb within layouts/application (5.2ms)
Rendered layouts/_header-user.html.erb (2.6ms)

Completed 200 OK in 44ms (Views: 42.3ms | ActiveRecord: 0.3ms)

 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
SQL (0.5ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:53.889024"], ["updated_at", "2018-12-05 15:29:53.889024"], ["tipo_sala", "palestras"]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Started GET “/rooms/235” for 127.0.0.1 at 2018-12-05 13:29:53 -0200 Processing by RoomsController#show as HTML

Parameters: {"id"=>"235"}

Redirected to www.example.com/ Filter chain halted as :signed_in? rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.3ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$GP7bbQT9YdBDpAMuQFZY0.LwRDyPPeC7vdlOkgwqueFw0LYLhBdvO"], ["created_at", "2018-12-05 15:29:54.067736"], ["updated_at", "2018-12-05 15:29:54.067736"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:54 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:54.071945"], ["last_sign_in_at", "2018-12-05 15:29:54.071945"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:54.072625"], ["id", 455]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:145:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$3jIIQAQN5/Gac1PN2BKNnuVue7.VXgo8LqazUeo6/kPKr4XW/7Uw2"], ["created_at", "2018-12-05 15:29:54.454264"], ["updated_at", "2018-12-05 15:29:54.454264"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:54 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:54.459253"], ["last_sign_in_at", "2018-12-05 15:29:54.459253"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:54.460026"], ["id", 456]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"Fake-123", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:145:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$hF0GBEv67SmBKjy/SOInTOfqePOFD9PtKPRs1S9evj7KfN05Pf07y"], ["created_at", "2018-12-05 15:29:54.855733"], ["updated_at", "2018-12-05 15:29:54.855733"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:54 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:54.860977"], ["last_sign_in_at", "2018-12-05 15:29:54.860977"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:54.861931"], ["id", 457]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:158:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.6ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$V7Qx1l4D0iAQKjK/k/Htl.0qmujM0XUAYDR4.IIFm4Wo2M.6hyfZa"], ["created_at", "2018-12-05 15:29:55.241573"], ["updated_at", "2018-12-05 15:29:55.241573"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:55 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:55.246397"], ["last_sign_in_at", "2018-12-05 15:29:55.246397"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:55.247354"], ["id", 458]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:158:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.6ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$iWBa8UothqMOWZiG4y2u1uzJdv2NpRPbrFAi3hmY7dAQElj6ZjtCS"], ["created_at", "2018-12-05 15:29:55.630464"], ["updated_at", "2018-12-05 15:29:55.630464"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:55 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.5ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:55.634948"], ["last_sign_in_at", "2018-12-05 15:29:55.634948"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:55.635709"], ["id", 459]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:174:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.3ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$wnyQC8DXUKr9JODoCaOBK.A7Pc1pTa9aanR.iyzbvo5UEaBfsFvm6"], ["created_at", "2018-12-05 15:29:56.019888"], ["updated_at", "2018-12-05 15:29:56.019888"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:56.022900"], ["updated_at", "2018-12-05 15:29:56.022900"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/236” for 127.0.0.1 at 2018-12-05 13:29:56 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:56.026841"], ["last_sign_in_at", "2018-12-05 15:29:56.026841"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:56.027487"], ["id", 460]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"236"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:193:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "New Fake Name"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.5ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.7ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$TBivgUUgRUryyK7gZCeqyerLbqi39tCxeeFOBNPCCq95xKF6NSbiy"], ["created_at", "2018-12-05 15:29:56.417728"], ["updated_at", "2018-12-05 15:29:56.417728"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:56.421266"], ["updated_at", "2018-12-05 15:29:56.421266"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/237” for 127.0.0.1 at 2018-12-05 13:29:56 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:56.425600"], ["last_sign_in_at", "2018-12-05 15:29:56.425600"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:56.426451"], ["id", 461]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"237"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:193:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$0N11pp8UQTrlUlTaxaqLYuf8UXGBxVhKDw/5LI3fOxDaSEsDhejwW"], ["created_at", "2018-12-05 15:29:56.813653"], ["updated_at", "2018-12-05 15:29:56.813653"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:56.817620"], ["updated_at", "2018-12-05 15:29:56.817620"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/238” for 127.0.0.1 at 2018-12-05 13:29:56 -0200

 (0.4ms)  SAVEPOINT active_record_1
SQL (0.9ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:56.822352"], ["last_sign_in_at", "2018-12-05 15:29:56.822352"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:56.823322"], ["id", 462]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"238"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:207:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", ""], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$lsIhTzBgE6Qq2OCGCSa3MOUSN4ORog4cfoU/dIs926w5dwAnfU1TO"], ["created_at", "2018-12-05 15:29:57.220022"], ["updated_at", "2018-12-05 15:29:57.220022"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:57.224020"], ["updated_at", "2018-12-05 15:29:57.224020"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started PUT “/rooms/239” for 127.0.0.1 at 2018-12-05 13:29:57 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:57.228749"], ["last_sign_in_at", "2018-12-05 15:29:57.228749"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:57.229612"], ["id", 463]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#update as HTML

Parameters: {"room"=>{"name"=>"", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}, "id"=>"239"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:34:in `put' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:207:in `block (5 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.4ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$mgiFK1DIlWRWGcYjGKfMx.eVtRi/LCryvRhjJuUSPvKLOjp.yg1ya"], ["created_at", "2018-12-05 15:29:57.616076"], ["updated_at", "2018-12-05 15:29:57.616076"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started POST “/rooms” for 127.0.0.1 at 2018-12-05 13:29:57 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.7ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:57.620635"], ["last_sign_in_at", "2018-12-05 15:29:57.620635"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:57.621343"], ["id", 464]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#create as HTML

Parameters: {"room"=>{"name"=>"New Fake Name", "location"=>"New Fake Location", "tipo_sala"=>"palestras"}}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:223:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (1.0ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$d9cqTt/4KNrklvoBFjwRx.YoX5h5PGGkUZMiZICMHiH96M04cJRGe"], ["created_at", "2018-12-05 15:29:58.009673"], ["updated_at", "2018-12-05 15:29:58.009673"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:58.013624"], ["updated_at", "2018-12-05 15:29:58.013624"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/240” for 127.0.0.1 at 2018-12-05 13:29:58 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:58.017504"], ["last_sign_in_at", "2018-12-05 15:29:58.017504"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:58.018341"], ["id", 465]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"240"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:237:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.6ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.4ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.4ms)  SAVEPOINT active_record_1
User Exists (0.8ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.9ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course", "is_admin") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Worxn4VUGbrvcuRBladL8uzLS69yVgszs4971u673RNTihViphutW"], ["created_at", "2018-12-05 15:29:58.404997"], ["updated_at", "2018-12-05 15:29:58.404997"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"], ["is_admin", "t"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1
 (0.4ms)  SAVEPOINT active_record_1
SQL (0.8ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:58.408990"], ["updated_at", "2018-12-05 15:29:58.408990"], ["tipo_sala", "palestras"]]
 (0.4ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/241” for 127.0.0.1 at 2018-12-05 13:29:58 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:58.412822"], ["last_sign_in_at", "2018-12-05 15:29:58.412822"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:58.413638"], ["id", 466]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"241"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:237:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.4ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.4ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$.6oXDZQaBCK0HptqZNGww.hrXxF3aKPIgHEwIemkwhnTp.mdIOnJq"], ["created_at", "2018-12-05 15:29:58.792492"], ["updated_at", "2018-12-05 15:29:58.792492"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:58.795518"], ["updated_at", "2018-12-05 15:29:58.795518"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/242” for 127.0.0.1 at 2018-12-05 13:29:58 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:58.798788"], ["last_sign_in_at", "2018-12-05 15:29:58.798788"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:58.799542"], ["id", 467]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"242"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:251:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."name" = $1 LIMIT $2  [["name", "Fake-123"], ["LIMIT", 1]]
 (0.2ms)  ROLLBACK
 (0.1ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$ypN4Qxv5FH/QMjcKMsn0F.YCJFjblltsTCuJbG9Mo6Jeg85Yva3OW"], ["created_at", "2018-12-05 15:29:59.183255"], ["updated_at", "2018-12-05 15:29:59.183255"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:59.185983"], ["updated_at", "2018-12-05 15:29:59.185983"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started DELETE “/rooms/243” for 127.0.0.1 at 2018-12-05 13:29:59 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:59.188903"], ["last_sign_in_at", "2018-12-05 15:29:59.188903"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:59.189538"], ["id", 468]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#destroy as HTML

Parameters: {"id"=>"243"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:40:in `delete' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:251:in `block (4 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

 (0.5ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.5ms)  SAVEPOINT active_record_1
User Exists (0.9ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$enCkLbWyViDhp8KImlHpk.iZb.2d1uhJV/9n/oWwGOASS3E/4GAk2"], ["created_at", "2018-12-05 15:29:59.563646"], ["updated_at", "2018-12-05 15:29:59.563646"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/search-rooms” for 127.0.0.1 at 2018-12-05 13:29:59 -0200

 (0.3ms)  SAVEPOINT active_record_1
SQL (1.0ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:59.567766"], ["last_sign_in_at", "2018-12-05 15:29:59.567766"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:59.568613"], ["id", 469]]
 (0.3ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_rooms as HTML

Rendering rooms/search_rooms.html.erb within layouts/application
Rendered rooms/search_rooms.html.erb within layouts/application (9.7ms)
Rendered layouts/_header-user.html.erb (4.5ms)

Completed 200 OK in 91ms (Views: 88.4ms | ActiveRecord: 0.0ms)

 (0.2ms)  ROLLBACK
 (0.2ms)  BEGIN
 (0.2ms)  SAVEPOINT active_record_1
User Exists (0.3ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$YSTTLValletCC2.Ifm4lrOv1.VoPSHM2Ny08reQAdAeI5yyJy8R2m"], ["created_at", "2018-12-05 15:29:59.921285"], ["updated_at", "2018-12-05 15:29:59.921285"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:59.924077"], ["updated_at", "2018-12-05 15:29:59.924077"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:59.926278"], ["updated_at", "2018-12-05 15:29:59.926278"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.3ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:29:59.928317"], ["updated_at", "2018-12-05 15:29:59.928317"], ["tipo_sala", "palestras"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.2ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 244], ["LIMIT", 1]]
User Load (0.2ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 470], ["LIMIT", 1]]
SQL (0.3ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 470], ["room_id", 244], ["created_at", "2018-12-05 15:29:59.933059"], ["updated_at", "2018-12-05 15:29:59.933059"]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Started POST “/search-result” for 127.0.0.1 at 2018-12-05 13:29:59 -0200

 (0.1ms)  SAVEPOINT active_record_1
SQL (0.4ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:29:59.936281"], ["last_sign_in_at", "2018-12-05 15:29:59.936281"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:29:59.936904"], ["id", 470]]
 (0.1ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML

Parameters: {"date_search"=>"22-06-2018", "time_search"=>"10:00:00"}

Can't verify CSRF token authenticity. Completed 422 Unprocessable Entity in 1ms (ActiveRecord: 0.0ms)

ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):

actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:195:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:227:in `handle_unverified_request' devise (4.4.3) lib/devise/controllers/helpers.rb:255:in `handle_unverified_request' actionpack (5.1.6) lib/action_controller/metal/request_forgery_protection.rb:222:in `verify_authenticity_token' activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda' activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>' activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each' activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before' activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action' actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process' actionview (5.1.6) lib/action_view/rendering.rb:30:in `process' actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call' warden (1.2.7) lib/warden/manager.rb:36:in `block in call' warden (1.2.7) lib/warden/manager.rb:35:in `catch' warden (1.2.7) lib/warden/manager.rb:35:in `call' rack (2.0.5) lib/rack/etag.rb:25:in `call' rack (2.0.5) lib/rack/conditional_get.rb:38:in `call' rack (2.0.5) lib/rack/head.rb:12:in `call' rack (2.0.5) lib/rack/session/abstract/id.rb:232:in `context' rack (2.0.5) lib/rack/session/abstract/id.rb:226:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.1.6) lib/active_record/migration.rb:556:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' web-console (3.6.2) lib/web_console/middleware.rb:135:in `call_app' web-console (3.6.2) lib/web_console/middleware.rb:30:in `block in call' web-console (3.6.2) lib/web_console/middleware.rb:20:in `catch' web-console (3.6.2) lib/web_console/middleware.rb:20:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call' rack (2.0.5) lib/rack/method_override.rb:22:in `call' rack (2.0.5) lib/rack/runtime.rb:22:in `call' activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call' rack (2.0.5) lib/rack/sendfile.rb:111:in `call' railties (5.1.6) lib/rails/engine.rb:522:in `call' rack-test (1.0.0) lib/rack/mock_session.rb:29:in `request' rack-test (1.0.0) lib/rack/test.rb:259:in `process_request' rack-test (1.0.0) lib/rack/test.rb:119:in `request' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:261:in `process' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:22:in `post' actionpack (5.1.6) lib/action_dispatch/testing/integration.rb:348:in `block (2 levels) in <module:Runner>' rails-controller-testing (1.0.2) lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>' spec/request/rooms_spec.rb:290:in `block (6 levels) in <top (required)>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:350:in `run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:509:in `block in run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:508:in `run_owned_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:595:in `block in run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `reverse_each' rspec-core (3.7.1) lib/rspec/core/hooks.rb:594:in `run_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:464:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:494:in `run_before_example' rspec-core (3.7.1) lib/rspec/core/example.rb:253:in `block in run' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `block in with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `block in with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `block in run' rspec-core (3.7.1) lib/rspec/core/hooks.rb:606:in `block in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-rails (3.7.2) lib/rspec/rails/adapters.rb:127:in `block (2 levels) in <module:MinitestLifecycleAdapter>' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/example.rb:447:in `instance_exec' rspec-core (3.7.1) lib/rspec/core/hooks.rb:375:in `execute_with' rspec-core (3.7.1) lib/rspec/core/hooks.rb:608:in `block (2 levels) in run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/example.rb:342:in `call' rspec-core (3.7.1) lib/rspec/core/hooks.rb:609:in `run_around_example_hooks_for' rspec-core (3.7.1) lib/rspec/core/hooks.rb:466:in `run' rspec-core (3.7.1) lib/rspec/core/example.rb:457:in `with_around_example_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:500:in `with_around_and_singleton_context_hooks' rspec-core (3.7.1) lib/rspec/core/example.rb:251:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:628:in `block in run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:624:in `run_examples' rspec-core (3.7.1) lib/rspec/core/example_group.rb:590:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `block in run' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `map' rspec-core (3.7.1) lib/rspec/core/example_group.rb:591:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (3 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `map' rspec-core (3.7.1) lib/rspec/core/runner.rb:118:in `block (2 levels) in run_specs' rspec-core (3.7.1) lib/rspec/core/configuration.rb:1926:in `with_suite_hooks' rspec-core (3.7.1) lib/rspec/core/runner.rb:113:in `block in run_specs' rspec-core (3.7.1) lib/rspec/core/reporter.rb:79:in `report' rspec-core (3.7.1) lib/rspec/core/runner.rb:112:in `run_specs' rspec-core (3.7.1) lib/rspec/core/runner.rb:87:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:71:in `run' rspec-core (3.7.1) lib/rspec/core/runner.rb:45:in `invoke' rspec-core (3.7.1) exe/rspec:4:in `<top (required)>' /usr/local/bin/rspec:23:in `load' /usr/local/bin/rspec:23:in `<main>'

Room Load (0.3ms)  SELECT "rooms".* FROM "rooms"
Room Load (0.8ms)  SELECT "rooms".* FROM "rooms" INNER JOIN "appointments" ON "appointments"."room_id" = "rooms"."id" WHERE (appointment_date = '22-06-2018' AND start_time = '10:00:00' AND status = 2)
 (0.3ms)  ROLLBACK
 (0.3ms)  BEGIN
 (0.3ms)  SAVEPOINT active_record_1
User Exists (0.7ms)  SELECT  1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email", "silva@silva.com"], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "username", "registration", "course") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["email", "silva@silva.com"], ["encrypted_password", "$2a$11$Ra25p27Ug6kCTu2GzsDaAOBmH7qsd2q3LLYty6FubUFhg39LctMvG"], ["created_at", "2018-12-05 15:30:00.476368"], ["updated_at", "2018-12-05 15:30:00.476368"], ["username", "testesilva"], ["registration", "150115464"], ["course", "Artes Cenicas"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:30:00.479763"], ["updated_at", "2018-12-05 15:30:00.479763"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.2ms)  SAVEPOINT active_record_1
SQL (0.6ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:30:00.482576"], ["updated_at", "2018-12-05 15:30:00.482576"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
SQL (0.7ms)  INSERT INTO "rooms" ("name", "location", "created_at", "updated_at", "tipo_sala") VALUES ($1, $2, $3, $4, $5) RETURNING "id"  [["name", "Fake-123"], ["location", "Fake Location"], ["created_at", "2018-12-05 15:30:00.485115"], ["updated_at", "2018-12-05 15:30:00.485115"], ["tipo_sala", "palestras"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1
 (0.1ms)  SAVEPOINT active_record_1
Room Load (0.4ms)  SELECT  "rooms".* FROM "rooms" WHERE "rooms"."id" = $1 LIMIT $2  [["id", 247], ["LIMIT", 1]]
User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 471], ["LIMIT", 1]]
SQL (0.8ms)  INSERT INTO "appointments" ("appointment_date", "start_time", "status", "user_id", "room_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["appointment_date", "2018-06-22 00:00:00"], ["start_time", "10:00:00"], ["status", 2], ["user_id", 471], ["room_id", 247], ["created_at", "2018-12-05 15:30:00.490883"], ["updated_at", "2018-12-05 15:30:00.490883"]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Started GET “/search-result” for 127.0.0.1 at 2018-12-05 13:30:00 -0200

 (0.2ms)  SAVEPOINT active_record_1
SQL (0.8ms)  UPDATE "users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "users"."id" = $7  [["sign_in_count", 1], ["current_sign_in_at", "2018-12-05 15:30:00.494806"], ["last_sign_in_at", "2018-12-05 15:30:00.494806"], ["current_sign_in_ip", "127.0.0.1/32"], ["last_sign_in_ip", "127.0.0.1/32"], ["updated_at", "2018-12-05 15:30:00.495505"], ["id", 471]]
 (0.2ms)  RELEASE SAVEPOINT active_record_1

Processing by RoomsController#search_result as HTML Redirected to www.example.com/search-rooms Completed 302 Found in 1ms (ActiveRecord: 0.0ms)

 (0.4ms)  ROLLBACK